diff options
author | Seth Troisi <sethtroisi@google.com> | 2020-01-23 10:04:12 -0800 |
---|---|---|
committer | Seth Troisi <sethtroisi@google.com> | 2020-01-23 10:04:12 -0800 |
commit | 9445a5146e709912970c0ab1c36a3baa219d8d38 (patch) | |
tree | b747651ba3444cbccbf5d756cc2964228afbc6eb /numpy/_pytesttester.py | |
parent | 04ac2a13b302a7af6fe2a5ca67e09a0e09a0f8e7 (diff) | |
download | numpy-9445a5146e709912970c0ab1c36a3baa219d8d38.tar.gz |
MAINT: cleanup _pytesttester.py
Diffstat (limited to 'numpy/_pytesttester.py')
-rw-r--r-- | numpy/_pytesttester.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py index 8b6e3217e..e573d53ab 100644 --- a/numpy/_pytesttester.py +++ b/numpy/_pytesttester.py @@ -125,13 +125,6 @@ class PytestTester: import pytest import warnings - #FIXME This is no longer needed? Assume it was for use in tests. - # cap verbosity at 3, which is equivalent to the pytest '-vv' option - #from . import utils - #verbose = min(int(verbose), 3) - #utils.verbose = verbose - # - module = sys.modules[self.module_name] module_path = os.path.abspath(module.__path__[0]) @@ -162,16 +155,6 @@ class PytestTester: "-W ignore:the matrix subclass is not", ] - # Ignore python2.7 -3 warnings - pytest_args += [ - r"-W ignore:buffer\(\) not supported in 3\.x:DeprecationWarning", - r"-W ignore:CObject type is not supported in 3\.x:DeprecationWarning", - r"-W ignore:comparing unequal types not supported in 3\.x:DeprecationWarning", - r"-W ignore:the commands module has been removed in Python 3\.0:DeprecationWarning", - r"-W ignore:The 'new' module has been removed in Python 3\.0:DeprecationWarning", - ] - - if doctests: raise ValueError("Doctests not supported") |