summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-01-23 15:00:31 -0700
committerGitHub <noreply@github.com>2020-01-23 15:00:31 -0700
commitfe703817322535ee97f361fa8df21e2c019ad429 (patch)
tree7c3a4a1fc6172786237b5359379fc879a644f021 /numpy
parent11654979194d7d17b78cee08f4a26877acd5071b (diff)
parent9445a5146e709912970c0ab1c36a3baa219d8d38 (diff)
downloadnumpy-fe703817322535ee97f361fa8df21e2c019ad429.tar.gz
Merge pull request #15400 from sethtroisi/pytest_cleanup
MAINT: cleanup _pytesttester.py
Diffstat (limited to 'numpy')
-rw-r--r--numpy/_pytesttester.py17
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")