Display full traceback from Import errors when collecting test modules

Fix #1976
This commit is contained in:
Bruno Oliveira
2016-10-03 20:47:44 -03:00
parent fc02003220
commit 7d66e4eae1
6 changed files with 39 additions and 20 deletions

View File

@@ -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