Show More
@@ -29,13 +29,6 b' def setastest(tf=True):' | |||||
29 | tf : bool |
|
29 | tf : bool | |
30 | If True specifies this is a test, not a test otherwise |
|
30 | If True specifies this is a test, not a test otherwise | |
31 |
|
31 | |||
32 | e.g |
|
|||
33 | >>> from numpy.testing.decorators import setastest |
|
|||
34 | >>> @setastest(False) |
|
|||
35 | ... def func_with_test_in_name(arg1, arg2): pass |
|
|||
36 | ... |
|
|||
37 | >>> |
|
|||
38 |
|
||||
39 | This decorator cannot use the nose namespace, because it can be |
|
32 | This decorator cannot use the nose namespace, because it can be | |
40 | called from a non-test module. See also istest and nottest in |
|
33 | called from a non-test module. See also istest and nottest in | |
41 | nose.tools |
|
34 | nose.tools |
@@ -71,7 +71,8 b" EXCLUDE = [pjoin('IPython', 'external')," | |||||
71 | pjoin('IPython', 'Extensions', 'numeric_formats'), |
|
71 | pjoin('IPython', 'Extensions', 'numeric_formats'), | |
72 | pjoin('IPython', 'testing', 'attic'), |
|
72 | pjoin('IPython', 'testing', 'attic'), | |
73 | pjoin('IPython', 'testing', 'tutils'), |
|
73 | pjoin('IPython', 'testing', 'tutils'), | |
74 | pjoin('IPython', 'testing', 'tools') |
|
74 | pjoin('IPython', 'testing', 'tools'), | |
|
75 | pjoin('IPython', 'testing', 'mkdoctests') | |||
75 | ] |
|
76 | ] | |
76 |
|
77 | |||
77 | if not have_wx: |
|
78 | if not have_wx: | |
@@ -88,6 +89,10 b' if not have_curses:' | |||||
88 | if not sys.platform == 'win32': |
|
89 | if not sys.platform == 'win32': | |
89 | EXCLUDE.append(pjoin('IPython', 'platutils_win32')) |
|
90 | EXCLUDE.append(pjoin('IPython', 'platutils_win32')) | |
90 |
|
91 | |||
|
92 | if sys.platform == 'win32': | |||
|
93 | EXCLUDE.append(pjoin('IPython', 'testing', 'plugin', 'test_exampleip')) | |||
|
94 | EXCLUDE.append(pjoin('IPython', 'testing', 'plugin', 'dtexample')) | |||
|
95 | ||||
91 | if not os.name == 'posix': |
|
96 | if not os.name == 'posix': | |
92 | EXCLUDE.append(pjoin('IPython', 'platutils_posix')) |
|
97 | EXCLUDE.append(pjoin('IPython', 'platutils_posix')) | |
93 |
|
98 |
General Comments 0
You need to be logged in to leave comments.
Login now