Skip to content

Commit e1ae3c3

Browse files
committed
Python: sys.exit if import resolution tests fail
1 parent 4be2e43 commit e1ae3c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python/ql/test/experimental/import-resolution

python/ql/test/experimental/import-resolution/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ def local_import():
9191
if status() == 0:
9292
print("PASS")
9393
else:
94-
print("FAIL")
94+
sys.exit("FAIL")

0 commit comments

Comments
 (0)