diff options
Diffstat (limited to 'numpy/_pytesttester.py')
-rw-r--r-- | numpy/_pytesttester.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py index 8decb9dd7..01ddaaf98 100644 --- a/numpy/_pytesttester.py +++ b/numpy/_pytesttester.py @@ -33,7 +33,6 @@ import os __all__ = ['PytestTester'] - def _show_numpy_info(): import numpy as np @@ -44,7 +43,6 @@ def _show_numpy_info(): print("NumPy CPU features: ", (info if info else 'nothing enabled')) - class PytestTester: """ Pytest test runner. @@ -167,7 +165,7 @@ class PytestTester: ] if doctests: - raise ValueError("Doctests not supported") + pytest_args += ["--doctest-modules"] if extra_argv: pytest_args += list(extra_argv) |