10
10
def fpw_opt_str ():
11
11
""" Return first-package-wins option string for this version of nose
12
12
13
- Versions of nose prior to 1.1.0 needed ``=True`` for ``first-package-wins``,
14
- versions after won't accept it.
13
+ Versions of nose prior to 1.1.0 needed ``=True`` for
14
+ ``first-package-wins``, versions after won't accept it.
15
15
16
16
changeset: 816:c344a4552d76
17
17
http://code.google.com/p/python-nose/issues/detail?id=293
@@ -39,8 +39,8 @@ def fpw_opt_str():
39
39
def prepare_imports ():
40
40
""" Prepare any imports for testing run
41
41
42
- At the moment, we prepare matplotlib by trying to make it use a backend that
43
- does not need a display
42
+ At the moment, we prepare matplotlib by trying to make it use a backend
43
+ that does not need a display.
44
44
"""
45
45
try :
46
46
import matplotlib as mpl
@@ -53,9 +53,9 @@ def prepare_imports():
53
53
class NipyNoseTester (NoseTester ):
54
54
""" Numpy-like testing class
55
55
56
- * Removes some numpy-specific excludes
57
- * Disables numpy's fierce clearout of module import context for doctests
58
- * Run doctests by default
56
+ * Removes some numpy-specific excludes;
57
+ * Disables numpy's fierce clearout of module import context for doctests;
58
+ * Run doctests by default.
59
59
60
60
"""
61
61
excludes = []
@@ -77,13 +77,14 @@ def test(self, label='fast', verbose=1, extra_argv=None, doctests=True,
77
77
----------
78
78
label : {'fast', 'full', '', attribute identifier}, optional
79
79
Identifies the tests to run. This can be a string to pass to
80
- directly the nosetests executable with the '-A' option (an attribute
81
- identifier), or one of several special values. Special values are:
80
+ directly the nosetests executable with the '-A' option (an
81
+ attribute identifier), or one of several special values. Special
82
+ values are:
82
83
83
84
* 'fast' - the default - which corresponds to the ``nosetests -A``
84
- option of 'not slow'.
85
+ option of 'not slow';
85
86
* 'full' - fast (as above) and slow tests as in the
86
- 'no -A' option to nosetests - this is the same as ''.
87
+ 'no -A' option to nosetests - this is the same as '';
87
88
* None or '' - run all tests.
88
89
89
90
verbose : int, optional
0 commit comments