We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84f5a5f commit 94ce567Copy full SHA for 94ce567
2 files changed
sdk/storage/azure-storage-blob/assets.json
@@ -2,5 +2,5 @@
2
"AssetsRepo": "Azure/azure-sdk-assets",
3
"AssetsRepoPrefixPath": "python",
4
"TagPrefix": "python/storage/azure-storage-blob",
5
- "Tag": "python/storage/azure-storage-blob_e0a670a6a4"
+ "Tag": "python/storage/azure-storage-blob_89384f00b6"
6
}
sdk/storage/azure-storage-blob/tests/test_streams.py
@@ -107,10 +107,12 @@ def test_close(self):
107
assert not stream.closed
108
assert not inner.closed
109
110
- stream.close()
111
- assert stream.closed
112
- assert inner.closed
+ stream.close() # no-op
+ assert not stream.closed
+ assert not inner.closed
113
+ assert stream.read(1) is not None
114
115
+ inner.close() # closing inner will block reads
116
with pytest.raises(ValueError):
117
stream.read(0)
118
0 commit comments