Skip to content

Commit 234752c

Browse files
author
Alan Fleming
committed
Remove unnecessary code.
1 parent 7fa9cba commit 234752c

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

python/ipywidgets/ipywidgets/widgets/tests/utils.py

-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
33

4-
import pytest
54

65
from ipywidgets import Widget
76
import ipywidgets.widgets.widget
@@ -105,12 +104,3 @@ def setup():
105104

106105
def call_method(method, *args, **kwargs):
107106
method(*args, **kwargs)
108-
109-
110-
@pytest.fixture
111-
def dummy_comm_fixture():
112-
setup()
113-
try:
114-
yield
115-
finally:
116-
teardown_test_comm()

python/ipywidgets/ipywidgets/widgets/widget_box.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ class Box(DOMWidget, CoreWidget):
7777
>>> widgets.Box([title_widget, slider])
7878
"""
7979
_model_name = Unicode('BoxModel').tag(sync=True)
80-
_view_name = Unicode('BoxView').tag(sync=True)
81-
tooltip = Unicode('', allow_none=True, help='A tooltip caption.').tag(sync=True)
80+
_view_name = Unicode("BoxView").tag(sync=True)
8281
validate_mode = CaselessStrEnum(['raise', 'log_warning', 'log_error'], 'raise')
8382

8483
# Child widgets in the container.

python/ipywidgets/ipywidgets/widgets/widget_output.py

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def func():
5959

6060
msg_id = Unicode('', help="Parent message id of messages to capture").tag(sync=True)
6161
outputs = TypedTuple(trait=Dict(), help="The output messages synced from the frontend.").tag(sync=True)
62-
tooltip = Unicode('', allow_none=True, help="A tooltip caption.").tag(sync=True)
6362

6463
__counter = 0
6564

0 commit comments

Comments
 (0)