Traceback (most recent call last): File "/tmp/tmpe2kdegej/ham.py", line 1, in raise KeyboardInterrupt KeyboardInterrupt Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 184, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.8/runpy.py", line 110, in _get_module_details __import__(pkg_name) File "/tmp/tmpe2kdegej/ham.py", line 1, in raise KeyboardInterrupt KeyboardInterrupt Traceback (most recent call last): File "test_exit.py", line 21, in test_exit() File "test_exit.py", line 14, in test_exit assert ( AssertionError