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

Skip to content
Prev Previous commit
Next Next commit
ENH now can run the tests on triangulation without the test runner
  • Loading branch information
NelleV committed Jun 29, 2013
commit 96ee5b2fdfd1cabb387791f4079689ae5586f4e7
5 changes: 5 additions & 0 deletions lib/matplotlib/tests/test_triangulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,3 +881,8 @@ def meshgrid_triangles(n):
d = (i+1) + (j+1)*n
tri += [[a, b, d], [a, d, c]]
return np.array(tri, dtype=np.int32)


if __name__ == '__main__':
import nose
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)