Skip to content

Commit 4e5765a

Browse files
Use __eq__ between SyclQueue and another type
1 parent e79ea1d commit 4e5765a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpctl/tests/test_sycl_queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ def test_queue_capsule():
464464
q2 = dpctl.SyclQueue(cap)
465465
assert q == q2
466466
del cap2 # call deleter on non-renamed capsule
467+
assert q2 != [] # compare with other types
467468

468469

469470
def test_cpython_api():

0 commit comments

Comments
 (0)