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

Skip to content

Commit 96ee5b2

Browse files
committed
ENH now can run the tests on triangulation without the test runner
1 parent fcdcd55 commit 96ee5b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/tests/test_triangulation.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,3 +881,8 @@ def meshgrid_triangles(n):
881881
d = (i+1) + (j+1)*n
882882
tri += [[a, b, d], [a, d, c]]
883883
return np.array(tri, dtype=np.int32)
884+
885+
886+
if __name__ == '__main__':
887+
import nose
888+
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
 (0)