diff options
author | Alan McIntyre <alan.mcintyre@local> | 2008-07-03 03:35:50 +0000 |
---|---|---|
committer | Alan McIntyre <alan.mcintyre@local> | 2008-07-03 03:35:50 +0000 |
commit | 24af452d6573d66faedff2b4b98993a8c0664e97 (patch) | |
tree | 58da984eab3cb9b6e369d541584e5ad3a707b63d /numpy/testing/decorators.py | |
parent | 7bd1865f373f5297a2dc01eb6eedb6e69ad2c062 (diff) | |
download | numpy-24af452d6573d66faedff2b4b98993a8c0664e97.tar.gz |
Fixed line continuation in doctest for setastest.
Remove unnecessary "import re".
Limit doctest execution environment to "import numpy as np".
Save and restore print options after each doctest (to clean up after some doctests that change
them).
Enable ellipsis for all doctests.
Remove parameter to NumpyDocTestCase constructor that was specific to nose 0.11.
Monkeypatch wantFile of doctest plugin to skip Python files related to the build process
(scons_support.py and generate_numpy_api.py).
Diffstat (limited to 'numpy/testing/decorators.py')
-rw-r--r-- | numpy/testing/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/decorators.py b/numpy/testing/decorators.py index f74f0e573..1c86a8d55 100644 --- a/numpy/testing/decorators.py +++ b/numpy/testing/decorators.py @@ -31,7 +31,7 @@ def setastest(tf=True): e.g >>> @setastest(False) - >>> def func_with_test_in_name(arg1, arg2): pass + ... def func_with_test_in_name(arg1, arg2): pass ... >>> |