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

Skip to content

Commit 7fde1fa

Browse files
committed
Mark make_all_2d_testfuncs as not a test
Nose considers any function containing '_test' as a test
1 parent b80563f commit 7fde1fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_delaunay.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def reference_test():
199199
for func in allfuncs:
200200
globals()['test_%s' % func.__name__] = make_test(func)
201201

202+
make_all_2d_testfuncs.__test__ = False # nose: this function is not a test
202203
make_all_2d_testfuncs()
203204

204205
# 1d and 0d grid tests

0 commit comments

Comments
 (0)