summaryrefslogtreecommitdiff
path: root/numpy/_pytesttester.py
diff options
context:
space:
mode:
authorAnirudh Subramanian <anirudh2290@ufl.edu>2020-04-14 17:15:21 +0000
committerAnirudh Subramanian <anirudh2290@ufl.edu>2020-04-14 17:21:18 +0000
commit6736d8c53ab80178195da8b5fe61e174cc5ea26e (patch)
tree74ae898785ea1e4cf769b220a73b7a237fbe6231 /numpy/_pytesttester.py
parent9df2c98537b72c74f4e996ad840f1fe5a5f003df (diff)
downloadnumpy-6736d8c53ab80178195da8b5fe61e174cc5ea26e.tar.gz
MAINT: Make if else clause more readable
Diffstat (limited to 'numpy/_pytesttester.py')
-rw-r--r--numpy/_pytesttester.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py
index 9e3c95740..ca86aeb22 100644
--- a/numpy/_pytesttester.py
+++ b/numpy/_pytesttester.py
@@ -171,8 +171,11 @@ class PytestTester:
if label == "fast":
# 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"]
+ if IS_PYPY:
+ pytest_args += ["-m", "not slow and not slow_pypy"]
+ else:
+ pytest_args += ["-m", "not slow"]
+
elif label != "full":
pytest_args += ["-m", label]