Skip to content

Commit cadd9d8

Browse files
committed
removed np tests from tests_core
1 parent 735bb9b commit cadd9d8

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

plotly/tests/test_core/test_tools/test_TraceFactory.py

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ def test_more_kwargs(self):
9191

9292
class TestStreamline(TestCase):
9393

94+
# create_streamline has numpy dependency-
95+
# additional streamline tests in test_optional
96+
9497
def test_wrong_arrow_scale(self):
9598

9699
# check for ValueError if arrow_scale is <= 0
@@ -142,20 +145,3 @@ def test_unequal_shape_u(self):
142145
'v': [[1, 1], [-3, -3]]}
143146
self.assertRaises(PlotlyError, tls.TraceFactory.create_streamline,
144147
**kwargs)
145-
146-
def test_simple(self):
147-
148-
# check that the expected streamline keys result from create_streamline
149-
150-
self.assertEqual((tls.TraceFactory.create_streamline(x=[0, 2],
151-
y=[0, 2],
152-
u=[[-1, -5],
153-
[-1, -5]],
154-
v=[[1, 1],
155-
[-3, -3]],
156-
density=2,
157-
arrow_scale=.4,
158-
angle=math.pi / 6,
159-
line=Line(color='purple',
160-
width=3))).keys(),
161-
(['y', 'x', 'line', 'type', 'mode']))

0 commit comments

Comments
 (0)