Skip to content

Commit 887aff7

Browse files
committed
Revert changes with Stop iteration
ZX emu now makes the EmulationExit identifier public again.
1 parent 6b6a74b commit 887aff7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/runtime/check_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self):
1717
super().__init__(speed_factor=None)
1818

1919
def on_breakpoint(self):
20-
raise Stop
20+
self.stop()
2121

2222
def run_test(self, tape_filename, ram_filename):
2323
# Auto-load the tape.
@@ -29,7 +29,7 @@ def run_test(self, tape_filename, ram_filename):
2929
# Run the main loop.
3030
try:
3131
self.run()
32-
except Stop:
32+
except zx.EmulationExit:
3333
pass
3434

3535
# Get view to the video memory.

0 commit comments

Comments
 (0)