Skip to content

Commit

Permalink
Remove unused probe flag
Browse files Browse the repository at this point in the history
  • Loading branch information
proneon267 committed Jan 21, 2025
1 parent ea5ece0 commit e6124a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions testbed/tests/window/test_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1011,8 +1011,6 @@ async def test_focus_events(
async def test_visibility_events(second_window, second_window_probe):
"""The window can trigger on_show() and on_hide() event handlers,
when the window is shown or hidden respectively."""
if not second_window_probe.supports_visibility_events:
pytest.xfail("This backend doesn't support visibility events.")
second_window.content = toga.Box(style=Pack(background_color=CORNFLOWERBLUE))
second_window.show()
second_window.on_show = Mock()
Expand Down

0 comments on commit e6124a5

Please sign in to comment.