Commit ed117ab4 authored by Johannes Bechberger's avatar Johannes Bechberger
Browse files

Fix handling of keyboard interrupts

parent 89dbd74f
...@@ -179,9 +179,9 @@ class JavaExecTest(BasicSyntaxTest): ...@@ -179,9 +179,9 @@ class JavaExecTest(BasicSyntaxTest):
except SigKill as sig: except SigKill as sig:
os.chdir(cwd) os.chdir(cwd)
assert False assert False
except: except BaseException:
os.chdir(cwd) os.chdir(cwd)
assert False raise
def _check_hash_sum(self, file: str, hash_sum_file: str) -> bool: def _check_hash_sum(self, file: str, hash_sum_file: str) -> bool:
old_hash = "" old_hash = ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment