summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2016-06-19 14:18:21 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2016-09-02 10:10:55 +0200
commit9bf7d1475468e16b7dcac93eb85338930f16ea4d (patch)
tree5275af2af724b13035eb7855e4903b06e5c24c0b /runtests.py
parent308161c80f4450f05f8399343034308bd18b4e1e (diff)
downloadnumpy-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-xruntests.py2
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)