Skip to content

Commit 7abdc0b

Browse files
committed
Make exception popup test deterministic
1 parent 9923385 commit 7abdc0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_exception_manager_here.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ async def test_popup_shown_on_app_exception(app_instance, there):
1616
assert app_instance.get_running_app()
1717
await there.runcode("from kivy.clock import Clock")
1818
await there.runcode("Clock.schedule_once(lambda dt: 1 / 0, -1)")
19-
await there.runcode("Clock.idle()")
19+
await there.runcode("Clock.tick_draw()")
2020
assert isinstance(app_instance._app_window.children[0], UnhandledExceptionPopupHere)

0 commit comments

Comments
 (0)