Skip to content

Commit 30de720

Browse files
Verify that stream.context handle is not None in test_stream_context
1 parent b305ea2 commit 30de720

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cuda_core/tests/test_stream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def test_stream_context(init_cuda):
8080
stream = Device().create_stream(options=StreamOptions())
8181
context = stream.context
8282
assert context is not None
83+
assert context._handle is not None
8384

8485

8586
def test_stream_from_foreign_stream(init_cuda):

0 commit comments

Comments
 (0)