1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

test_ukify: print message when skipping whole test file

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-04 22:54:41 +02:00
parent fb5578b3c3
commit 7d3d147c4a

View File

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