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 = {}