Skip to content

Commit d9375b9

Browse files
committed
Fix tests
1 parent 30d0665 commit d9375b9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ipywidgets/widgets/tests/utils.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ def send(self, *args, **kwargs):
3434
def close(self, *args, **kwargs):
3535
pass
3636

37+
class DummyCommManager():
38+
39+
def unregister_comm(self, comm):
40+
pass
41+
3742

3843
def dummy_create_comm(**kwargs):
3944
return DummyComm()
4045

4146

4247
def dummy_get_comm_manager(**kwargs):
43-
return {}
48+
return DummyCommManager()
4449

4550

4651
_widget_attrs = {}

0 commit comments

Comments
 (0)