Skip to content

Commit

Permalink
Also delete opened stream.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehpor committed Sep 18, 2024
1 parent fd57c70 commit a2fa231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_datastream.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ def test_datastream_lifetime():
# We should be able to open this stream.
stream_opened = DataStream.open(stream_id)

# Delete the created
# Delete the created and opened streams.
del stream_created
del stream_opened

# Opening a deleted stream should raise an error.
with pytest.raises(RuntimeError):
Expand Down

0 comments on commit a2fa231

Please sign in to comment.