diff options
author | Anirudh Subramanian <anirudh2290@ufl.edu> | 2020-04-14 17:15:21 +0000 |
---|---|---|
committer | Anirudh Subramanian <anirudh2290@ufl.edu> | 2020-04-14 17:21:18 +0000 |
commit | 6736d8c53ab80178195da8b5fe61e174cc5ea26e (patch) | |
tree | 74ae898785ea1e4cf769b220a73b7a237fbe6231 /numpy/_pytesttester.py | |
parent | 9df2c98537b72c74f4e996ad840f1fe5a5f003df (diff) | |
download | numpy-6736d8c53ab80178195da8b5fe61e174cc5ea26e.tar.gz |
MAINT: Make if else clause more readable
Diffstat (limited to 'numpy/_pytesttester.py')
-rw-r--r-- | numpy/_pytesttester.py | 7 |
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] |