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 fa0cb0c commit 74e4d2bCopy full SHA for 74e4d2b
Lib/test/test_zstd.py
@@ -1421,11 +1421,11 @@ def test_init_bad_mode(self):
1421
ZstdFile(io.BytesIO(COMPRESSED_100_PLUS_32KB), "rw")
1422
1423
with self.assertRaisesRegex(TypeError, r"NOT be CompressionParameter"):
1424
- ZstdFile(io.BytesIO(), 'rb',
+ ZstdFile(io.BytesIO(), 'rb',
1425
options={CompressionParameter.compression_level:5})
1426
with self.assertRaisesRegex(TypeError,
1427
r"NOT be DecompressionParameter"):
1428
- ZstdFile(io.BytesIO(), 'wb',
+ ZstdFile(io.BytesIO(), 'wb',
1429
options={DecompressionParameter.window_log_max:21})
1430
1431
with self.assertRaises(TypeError):
0 commit comments