This commit is contained in:
@@ -40,12 +40,12 @@ def test_xfail_uppercase_digits():
|
||||
# Expected fail test because uppercase won't change digits
|
||||
assert uppercase("abc123") == "ABC1234"
|
||||
|
||||
|
||||
'''
|
||||
def test_sigkill():
|
||||
# Kill directly the program
|
||||
os.kill(os.getpid(), signal.SIGKILL)
|
||||
time.sleep(1)
|
||||
|
||||
'''
|
||||
def test_keyboard_interrupt_direct():
|
||||
# Directly raise KeyboardInterrupt exception
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
Reference in New Issue
Block a user