contrib/python-zstandard/tests/test_decompressor.py
changeset 51686 493034cc3265
parent 44147 5e84a96d865b
child 51696 7f0cb9ee0534
--- a/contrib/python-zstandard/tests/test_decompressor.py	Thu Jul 18 12:03:29 2024 +0200
+++ b/contrib/python-zstandard/tests/test_decompressor.py	Thu Jul 18 12:36:12 2024 +0200
@@ -189,7 +189,7 @@
         # Will get OverflowError on some Python distributions that can't
         # handle really large integers.
         with self.assertRaises((MemoryError, OverflowError)):
-            dctx.decompress(compressed, max_output_size=2 ** 62)
+            dctx.decompress(compressed, max_output_size=2**62)
 
     def test_dictionary(self):
         samples = []
@@ -238,7 +238,7 @@
         cctx = zstd.ZstdCompressor(write_content_size=False)
         frame = cctx.compress(source)
 
-        dctx = zstd.ZstdDecompressor(max_window_size=2 ** zstd.WINDOWLOG_MIN)
+        dctx = zstd.ZstdDecompressor(max_window_size=2**zstd.WINDOWLOG_MIN)
 
         with self.assertRaisesRegex(
             zstd.ZstdError,