Make test_get_all_objects_qapp work on Windows.
This commit is contained in:
parent
68f80c602b
commit
0f47ef17a5
@ -247,4 +247,6 @@ class TestGetAllObjects:
|
||||
@pytest.mark.usefixtures('qapp')
|
||||
def test_get_all_objects_qapp(self):
|
||||
objects = debug.get_all_objects()
|
||||
assert '<PyQt5.QtCore.QAbstractEventDispatcher object at' in objects
|
||||
event_dispatcher = '<PyQt5.QtCore.QAbstractEventDispatcher object at'
|
||||
session_manager = '<PyQt5.QtGui.QSessionManager object at'
|
||||
assert event_dispatcher in objects or session_manager in objects
|
||||
|
Loading…
Reference in New Issue
Block a user