From 7fde1fa44f942ed1659edeb4aa7bb896287a7b4a Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Sun, 31 Jul 2016 15:03:49 +0300 Subject: [PATCH] Mark `make_all_2d_testfuncs` as not a test Nose considers any function containing '_test' as a test --- lib/matplotlib/tests/test_delaunay.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/matplotlib/tests/test_delaunay.py b/lib/matplotlib/tests/test_delaunay.py index 373f77404fe0..384afc6c5d92 100644 --- a/lib/matplotlib/tests/test_delaunay.py +++ b/lib/matplotlib/tests/test_delaunay.py @@ -199,6 +199,7 @@ def reference_test(): for func in allfuncs: globals()['test_%s' % func.__name__] = make_test(func) +make_all_2d_testfuncs.__test__ = False # nose: this function is not a test make_all_2d_testfuncs() # 1d and 0d grid tests