summaryrefslogtreecommitdiffstats
path: root/src/ukify
diff options
context:
space:
mode:
Diffstat (limited to 'src/ukify')
-rwxr-xr-xsrc/ukify/test/test_ukify.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py
index d221825019..6853205958 100755
--- a/src/ukify/test/test_ukify.py
+++ b/src/ukify/test/test_ukify.py
@@ -18,13 +18,15 @@ import textwrap
try:
import pytest
-except ImportError:
+except ImportError as e:
+ print(str(e), file=sys.stderr)
sys.exit(77)
try:
# pyflakes: noqa
import pefile # noqa
-except ImportError:
+except ImportError as e:
+ print(str(e), file=sys.stderr)
sys.exit(77)
# We import ukify.py, which is a template file. But only __version__ is