Display full traceback from Import errors when collecting test modules
Fix #1976
This commit is contained in:
@@ -120,7 +120,7 @@ class TestGeneralUsage:
|
||||
result.stdout.fnmatch_lines([
|
||||
#XXX on jython this fails: "> import import_fails",
|
||||
"ImportError while importing test module*",
|
||||
"'No module named *does_not_work*",
|
||||
"*No module named *does_not_work*",
|
||||
])
|
||||
assert result.ret == 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user