Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1718a73

Browse filesBrowse files
committed
Remove legacy test cases that were only passing because
Figure didn't have a `pop` method
1 parent 380f7fc commit 1718a73
Copy full SHA for 1718a73

File tree

1 file changed

+0
-26
lines changed
Filter options

1 file changed

+0
-26
lines changed

‎packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_append_trace.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_append_trace.py
-26Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -111,22 +111,6 @@ def test_append_scatter():
111111
assert d1 == d2
112112

113113

114-
@raises(Exception)
115-
def test_append_scatter_after_deleting_xaxis():
116-
trace = Scatter(x=[1, 2, 3], y=[2, 3, 4])
117-
fig = tls.make_subplots(rows=2, cols=3)
118-
fig['layout'].pop('xaxis5', None)
119-
fig.append_trace(trace, 2, 2)
120-
121-
122-
@raises(Exception)
123-
def test_append_scatter_after_deleting_yaxis():
124-
trace = Scatter(x=[1, 2, 3], y=[2, 3, 4])
125-
fig = tls.make_subplots(rows=2, cols=3)
126-
fig['layout'].pop('yaxis5', None)
127-
fig.append_trace(trace, 2, 2)
128-
129-
130114
def test_append_scatter3d():
131115
expected = Figure(
132116
data=Data([
@@ -168,13 +152,3 @@ def test_append_scatter3d():
168152

169153
d1, d2 = strip_dict_params(fig['layout'], expected['layout'])
170154
assert d1 == d2
171-
172-
173-
@raises(Exception)
174-
def test_append_scatter3d_after_deleting_scene():
175-
fig = tls.make_subplots(rows=2, cols=1,
176-
specs=[[{'is_3d': True}],
177-
[{'is_3d': True}]])
178-
trace = Scatter3d(x=[1, 2, 3], y=[2, 3, 4], z=[1, 2, 3])
179-
fig['layout'].pop('scene1', None)
180-
fig.append_trace(trace, 1, 1)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.