summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPradipta Ghosh <pradghos@in.ibm.com>2021-12-13 09:12:42 -0800
committerSayed Adel <seiko@imavr.com>2021-12-14 03:49:12 +0200
commit5f4c7ea67670b6aa7a6ef17f767ea151307849e8 (patch)
tree75adf3cf8712168d103c26819a6b0ab901a60d7b
parent664afacd9ff4d19012920447984273edac8cf204 (diff)
downloadnumpy-5f4c7ea67670b6aa7a6ef17f767ea151307849e8.tar.gz
fix lint issue
-rw-r--r--numpy/core/tests/test_cpu_features.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/core/tests/test_cpu_features.py b/numpy/core/tests/test_cpu_features.py
index 2b2272769..706cf7a7e 100644
--- a/numpy/core/tests/test_cpu_features.py
+++ b/numpy/core/tests/test_cpu_features.py
@@ -146,14 +146,17 @@ class Test_POWER_Features(AbstractTest):
def load_flags(self):
self.load_flags_auxv()
+
is_zarch = re.match("^(s390x)", machine, re.IGNORECASE)
-@pytest.mark.skipif(not is_linux or not is_zarch, reason="Only for Linux and IBM Z")
+@pytest.mark.skipif(not is_linux or not is_zarch,
+ reason="Only for Linux and IBM Z")
class Test_ZARCH_Features(AbstractTest):
features = ["VX", "VXE", "VXE2"]
def load_flags(self):
self.load_flags_auxv()
+
is_arm = re.match("^(arm|aarch64)", machine, re.IGNORECASE)
@pytest.mark.skipif(not is_linux or not is_arm, reason="Only for Linux and ARM")
class Test_ARM_Features(AbstractTest):