mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
test_ukify: print message when skipping whole test file
This commit is contained in:
parent
fb5578b3c3
commit
7d3d147c4a
|
@ -18,13 +18,15 @@ import textwrap
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pytest
|
import pytest
|
||||||
except ImportError:
|
except ImportError as e:
|
||||||
|
print(str(e), file=sys.stderr)
|
||||||
sys.exit(77)
|
sys.exit(77)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# pyflakes: noqa
|
# pyflakes: noqa
|
||||||
import pefile # noqa
|
import pefile # noqa
|
||||||
except ImportError:
|
except ImportError as e:
|
||||||
|
print(str(e), file=sys.stderr)
|
||||||
sys.exit(77)
|
sys.exit(77)
|
||||||
|
|
||||||
# We import ukify.py, which is a template file. But only __version__ is
|
# We import ukify.py, which is a template file. But only __version__ is
|
||||||
|
|
Loading…
Reference in a new issue