mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03: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:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user