summaryrefslogtreecommitdiff
path: root/src/ukify/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/ukify/test')
-rwxr-xr-xsrc/ukify/test/test_ukify.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py
index a4afa56ad9..48ffc6d495 100755
--- a/src/ukify/test/test_ukify.py
+++ b/src/ukify/test/test_ukify.py
@@ -20,6 +20,12 @@ try:
except ImportError:
sys.exit(77)
+try:
+ # pyflakes: noqa
+ import pefile # noqa
+except ImportError:
+ sys.exit(77)
+
# We import ukify.py, which is a template file. But only __version__ is
# substituted, which we don't care about here. Having the .py suffix makes it
# easier to import the file.