diff options
Diffstat (limited to 'tests/common.py')
-rw-r--r-- | tests/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.py b/tests/common.py index ef040af..25136b2 100644 --- a/tests/common.py +++ b/tests/common.py @@ -36,7 +36,7 @@ def importModule(module, directory, name=None): try: obj = __import__(module, {}, {}, '') except ImportError, e: - raise SystemExit('%s could not be imported' % origName) + raise SystemExit('%s could not be imported: %s' % (origName, e)) if hasattr(obj, '__file__'): location = obj.__file__ |