Skip to content

Commit

Permalink
Merge pull request #1035 from enthought/fix/1004
Browse files Browse the repository at this point in the history
Pass a value in appropriate range to avoid failure
  • Loading branch information
aaronayres35 authored May 7, 2021
2 parents 3a5a42b + 4302e32 commit f6e3d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mayavi/tests/test_optional_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def check(self,coll):
self.assertEqual(np.allclose(r, (6.09,6.09), atol=1.01e-03), True)
# Adding a contour should create the appropriate output in
# the collection.
c.contours.append(200)
c.contours.append(10)
self.assertEqual(np.allclose(r, [6.09,6.09], atol=1.01e-03), True)
# the collection's output should be that of the normals.
self.assertEqual(coll.outputs[0] is n.outputs[0],True)
Expand Down

0 comments on commit f6e3d57

Please sign in to comment.