Python: sys.exit if import resolution tests fail

This commit is contained in:
Rasmus Wriedt Larsen
2023-02-15 13:44:45 +01:00
parent 4be2e431ea
commit e1ae3c3cfb

View File

@@ -91,4 +91,4 @@ print()
if status() == 0:
print("PASS")
else:
print("FAIL")
sys.exit("FAIL")