We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f82c7bc + 8c4882a commit b5ed713Copy full SHA for b5ed713
array_api_tests/test_constants.py
@@ -51,3 +51,8 @@ def test_nan():
51
x = xp.asarray(xp.nan)
52
assert_0d_float("nan", x)
53
assert xp.isnan(x), "xp.isnan(xp.asarray(xp.nan))=False"
54
+
55
56
+def test_newaxis():
57
+ assert hasattr(xp, "newaxis")
58
+ assert xp.newaxis is None
0 commit comments