We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f1dfe9 commit c78ecd7Copy full SHA for c78ecd7
1 file changed
cuda_core/tests/test_device.py
@@ -52,8 +52,7 @@ def test_device_alloc_zero_bytes(deinit_cuda):
52
device.set_current()
53
buffer = device.allocate(0)
54
device.sync()
55
- # TODO: should the handle be zero here?
56
- assert buffer.handle != 0
+ assert buffer.handle == 0
57
assert buffer.size == 0
58
assert buffer.device_id == int(device)
59
0 commit comments