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