diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2016-06-19 14:18:21 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2016-09-02 10:10:55 +0200 |
commit | 9bf7d1475468e16b7dcac93eb85338930f16ea4d (patch) | |
tree | 5275af2af724b13035eb7855e4903b06e5c24c0b /runtests.py | |
parent | 308161c80f4450f05f8399343034308bd18b4e1e (diff) | |
download | numpy-9bf7d1475468e16b7dcac93eb85338930f16ea4d.tar.gz |
ENH: Use new context manager for testing
Making the outer context manager a suppress warnings gives good
control to print warnings only once in release mode and suppress
some specific warnings which cannot be easily avoided otherwise.
Diffstat (limited to 'runtests.py')
-rwxr-xr-x | runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.py b/runtests.py index b2d287d22..9008950e9 100755 --- a/runtests.py +++ b/runtests.py @@ -113,7 +113,7 @@ def main(argv): "Note that you need to commit your changes first!")) parser.add_argument("--raise-warnings", default=None, type=str, choices=('develop', 'release'), - help="if 'develop', some warnings are treated as errors") + help="if 'develop', warnings are treated as errors") parser.add_argument("args", metavar="ARGS", default=[], nargs=REMAINDER, help="Arguments to pass to Nose, Python or shell") args = parser.parse_args(argv) |