........................................................................ [ 49%] ...................................................F.................... [ 99%] . [100%] =================================== FAILURES =================================== ______ test_the_pulse_holds_the_68000_for_128_clocks_before_the_exception ______ def test_the_pulse_holds_the_68000_for_128_clocks_before_the_exception() -> None: system = _system() fetches = [] board = system.board def read_word(address): fetches.append(board.m68k_access_clock()) return board.read_word(address) system.m68k.attach_bus(board.read_byte, read_word, board.write_byte, board.write_word) start = system.mclk system.press_reset() elapsed = system.step() # 42 clocks of reset exception (m68000-python's ``reset``) after the pulse, and the # refresh its bus cycles take; the vector fetch comes after the pulse, 16 clocks on # (docs/worklog.md, "The reset exception"). > assert elapsed == (RESET_PULSE_CLOCKS + 42) * M68K_DIVIDER + system.board.stall E assert 1190 == (((128 + 42) * 7) + 14) E + where 14 = .stall E + where = .board tests/test_reset_button.py:84: AssertionError =============================== warnings summary =============================== tests/test_frontend.py::test_the_window_runs_headless tests/test_frontend.py::test_the_window_survives_a_resolution_change /tmp/claude-1000/-data-emu/f01e3d78-d1b6-4bc9-9d25-60eb66f86a2e/scratchpad/wt/src/megadrive_python/frontend.py:200: Warning: no fast renderer available surface = pg.display.set_mode(size, flags, vsync=1) tests/test_frontend.py::test_the_window_runs_headless tests/test_frontend.py::test_the_window_survives_a_resolution_change tests/test_frontend.py::test_the_window_survives_a_resolution_change tests/test_frontend.py::test_the_window_survives_a_resolution_change tests/test_frontend.py::test_the_window_survives_a_resolution_change tests/test_frontend.py::test_the_window_survives_a_resolution_change /tmp/claude-1000/-data-emu/f01e3d78-d1b6-4bc9-9d25-60eb66f86a2e/scratchpad/wt/src/megadrive_python/frontend.py:207: DeprecationWarning: Please use Window.get_surface and Window.flip to use surface-rendering with Window. This method will be removed in a future version. pg.Window.from_display_module().size = (size[0] * self.scale, height * self.scale) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_reset_button.py::test_the_pulse_holds_the_68000_for_128_clocks_before_the_exception 1 failed, 144 passed, 6 deselected, 8 warnings in 177.55s (0:02:57)