diff --git a/tests/gui/gui_specific/test_gui.py b/tests/gui/gui_specific/test_gui.py index 46654cdbfe..0be7a64cc2 100644 --- a/tests/gui/gui_specific/test_gui.py +++ b/tests/gui/gui_specific/test_gui.py @@ -42,18 +42,6 @@ def test__get_user_instance(gui: Gui): gui._get_user_instance("", type(None)) -def test__call_broadcast_callback_on_shared(gui: Gui): - gui.run(run_server=False) - with gui.get_flask_app().app_context(): - res = gui._call_broadcast_callback_on_shared(lambda s, t: t, ["Hello World"], "mine") - assert res == "Hello World" - - with gui.get_flask_app().app_context(): - with pytest.warns(UserWarning): - res = gui._call_broadcast_callback_on_shared(print, ["Hello World"], "mine") - assert res is None - - def test__call_broadcast_callback(gui: Gui): gui.run(run_server=False)