diff options
author | Anirudh Subramanian <anirudh2290@ufl.edu> | 2020-04-10 20:32:44 +0000 |
---|---|---|
committer | Anirudh Subramanian <anirudh2290@ufl.edu> | 2020-04-13 18:44:13 +0000 |
commit | 9df2c98537b72c74f4e996ad840f1fe5a5f003df (patch) | |
tree | 6b952c2c30e6a7825af7bad82c2d4c27085f8217 /numpy/_pytesttester.py | |
parent | 42228fcb513c08729f822fa6be70e16a7a68067f (diff) | |
download | numpy-9df2c98537b72c74f4e996ad840f1fe5a5f003df.tar.gz |
TST: Add slow_pypy support
Diffstat (limited to 'numpy/_pytesttester.py')
-rw-r--r-- | numpy/_pytesttester.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py index 0dc38fa59..9e3c95740 100644 --- a/numpy/_pytesttester.py +++ b/numpy/_pytesttester.py @@ -169,7 +169,10 @@ class PytestTester: pytest_args += ["--cov=" + module_path] if label == "fast": - pytest_args += ["-m", "not slow"] + # not importing at the top level to avoid circular import of module + from numpy.testing import IS_PYPY + pytest_args += ["-m", "not slow and not slow_pypy"] \ + if IS_PYPY else ["-m", "not slow"] elif label != "full": pytest_args += ["-m", label] |