From: Zbigniew Jędrzejewski-Szmek Date: Thu, 4 May 2023 20:54:41 +0000 (+0200) Subject: test_ukify: print message when skipping whole test file X-Git-Tag: v254-rc1~529^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d3d147c4ac5c2b388e459a238d7acbaa50a05bb;p=thirdparty%2Fsystemd.git test_ukify: print message when skipping whole test file --- diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py index d2218250194..68532059585 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