Replace deprecated GTK .show call

This commit is contained in:
Arjan Molenaar 2024-08-20 15:40:47 +02:00
parent d18894bb4e
commit 7e980bb882

View File

@ -57,7 +57,7 @@ def test_view_registration():
def test_view_registration_2(view, canvas, window):
"""Test view registration and destroy when view is destroyed."""
window.show()
window.present()
assert len(canvas._registered_views) == 1
assert view in canvas._registered_views