We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf4660d + 55bb70f commit 1993eaeCopy full SHA for 1993eae
dpctl/tests/test_usm_ndarray_ctor.py
@@ -2136,6 +2136,8 @@ def test_flags():
2136
except dpctl.SyclDeviceCreationError:
2137
pytest.skip("No SYCL devices available")
2138
f = x.flags
2139
+ # check comparison with generic types
2140
+ assert f != Ellipsis
2141
f.__repr__()
2142
assert f.c_contiguous == f["C"]
2143
assert f.f_contiguous == f["F"]
@@ -2144,8 +2146,6 @@ def test_flags():
2144
2146
assert f.forc == f["FORC"]
2145
2147
assert f.fnc == f["FNC"]
2148
assert f.writable == f["W"]
- # check comparison with generic types
- f == Ellipsis
2149
2150
2151
def test_asarray_uint64():
0 commit comments