We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc14d8 commit 7162807Copy full SHA for 7162807
array_api_strict/tests/test_array_object.py
@@ -1,3 +1,4 @@
1
+import sys
2
import operator
3
from builtins import all as all_
4
@@ -351,6 +352,10 @@ def test_array_properties():
351
352
assert b.mT.shape == (3, 2)
353
354
355
+@pytest.mark.xfail(sys.version_info.major*100 + sys.version_info.minor < 312,
356
+ reason="array conversion relies on buffer protocol, and "
357
+ "requires python >= 3.12"
358
+)
359
def test_array_conversion():
360
# Check that arrays on the CPU device can be converted to NumPy
361
# but arrays on other devices can't. Note this is testing the logic in
0 commit comments