Skip to content

Commit f46b00f

Browse files
committed
comment out test to check import error
- scipy will currently import in test_core
1 parent f91130e commit f46b00f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

plotly/tests/test_core/test_tools/test_figure_factory.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -687,21 +687,21 @@ def test_datetime_candlestick(self):
687687
self.assertEqual(candle, exp_candle)
688688

689689

690-
class TestDistplot(TestCase):
690+
# class TestDistplot(TestCase):
691691

692-
def test_scipy_import_error(self):
692+
# def test_scipy_import_error(self):
693693

694-
# make sure Import Error is raised when _scipy_imported = False
694+
# # make sure Import Error is raised when _scipy_imported = False
695695

696-
hist_data = [[1.1, 1.1, 2.5, 3.0, 3.5,
697-
3.5, 4.1, 4.4, 4.5, 4.5,
698-
5.0, 5.0, 5.2, 5.5, 5.5,
699-
5.5, 5.5, 5.5, 6.1, 7.0]]
696+
# hist_data = [[1.1, 1.1, 2.5, 3.0, 3.5,
697+
# 3.5, 4.1, 4.4, 4.5, 4.5,
698+
# 5.0, 5.0, 5.2, 5.5, 5.5,
699+
# 5.5, 5.5, 5.5, 6.1, 7.0]]
700700

701-
group_labels = ['distplot example']
701+
# group_labels = ['distplot example']
702702

703-
self.assertRaisesRegexp(ImportError,
704-
"FigureFactory.create_distplot requires scipy",
705-
tls.FigureFactory.create_distplot,
706-
hist_data, group_labels)
703+
# self.assertRaisesRegexp(ImportError,
704+
# "FigureFactory.create_distplot requires scipy",
705+
# tls.FigureFactory.create_distplot,
706+
# hist_data, group_labels)
707707

0 commit comments

Comments
 (0)