Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87217ab

Browse files
committed
Update test for plotly.js script loading changes
1 parent 9126d58 commit 87217ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plotly/tests/test_optional/test_offline/test_offline.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@
2727

2828
class PlotlyOfflineTestCase(TestCase):
2929
def setUp(self):
30-
plotly.offline.offline.__PLOTLY_OFFLINE_INITIALIZED = False
30+
pass
3131

32-
@raises(plotly.exceptions.PlotlyError)
33-
def test_iplot_doesnt_work_before_you_call_init_notebook_mode(self):
32+
def test_iplot_works_wihout_calling_init_notebook_mode(self):
3433
plotly.offline.iplot([{}])
3534

3635
def test_iplot_works_after_you_call_init_notebook_mode(self):

0 commit comments

Comments
 (0)