1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
# Avoid test failure on s390x by disabling a single test, pending upstream
# insights/action on https://github.com/ESSS/pytest-regressions/issues/156
--- a/tests/test_ndarrays_regression.py
+++ b/tests/test_ndarrays_regression.py
@@ -1,4 +1,5 @@
import sys
+import platform
import numpy as np
import pytest
@@ -276,6 +277,7 @@
assert expected in obtained_error_msg
+@pytest.mark.skipif(platform.machine().lower() == "s390x", reason="fails on s390x")
def test_different_data_types(ndarrays_regression, no_regen):
# Generate data with integer array.
data = {"data1": np.array([1] * 10)}
|