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 f14d9ab commit 22e1873Copy full SHA for 22e1873
src/verify_distribution.py
@@ -3,6 +3,7 @@
3
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
5
import os
6
+import platform
7
import sys
8
import unittest
9
@@ -180,7 +181,8 @@ def test_zstd_multithreaded(self):
180
181
from compression import zstd
182
183
bounds = zstd.CompressionParameter.nb_workers.bounds()
- assert bounds == (0, 256), (
184
+ expected_max = 64 if os.name == "nt" and platform.machine() == "i386" else 256
185
+ assert bounds == (0, expected_max), (
186
f"Expected multithreading to be enabled, got {bounds}"
187
)
188
0 commit comments