diff --git a/tests/test_result_gui_viewer.py b/tests/test_result_gui_viewer.py index 4f70222..e041738 100644 --- a/tests/test_result_gui_viewer.py +++ b/tests/test_result_gui_viewer.py @@ -42,14 +42,4 @@ def test_result_gui_viewer(): # Print summary of simulation result W.analyzer.print_simple_stats() - app, window = ResultGUIViewer.launch_World_viewer(W, return_app_window=True) - - # Shut down 5 sec later - from PyQt5.QtCore import QTimer - import sys - timer = QTimer() - timer.timeout.connect(window.close) - timer.start(1000*5) - assert True - with pytest.raises(SystemExit): - sys.exit(app.exec_()) \ No newline at end of file + ResultGUIViewer.launch_World_viewer(W, return_app_window=False)