From d9375b92a7f203e812337b45bab3885772db3fc9 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 21 Mar 2023 11:07:40 +0100 Subject: [PATCH] Fix tests --- ipywidgets/widgets/tests/utils.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ipywidgets/widgets/tests/utils.py b/ipywidgets/widgets/tests/utils.py index 86163a5a28..95a0bffc42 100644 --- a/ipywidgets/widgets/tests/utils.py +++ b/ipywidgets/widgets/tests/utils.py @@ -34,13 +34,18 @@ def send(self, *args, **kwargs): def close(self, *args, **kwargs): pass +class DummyCommManager(): + + def unregister_comm(self, comm): + pass + def dummy_create_comm(**kwargs): return DummyComm() def dummy_get_comm_manager(**kwargs): - return {} + return DummyCommManager() _widget_attrs = {}