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 2ab96f9 commit 7149f8cCopy full SHA for 7149f8c
pyperformance/data-files/benchmarks/bm_pickle/run_benchmark.py
@@ -266,10 +266,10 @@ def add_cmdline_args(cmd, args):
266
if options.pure_python:
267
name += "_pure_python"
268
269
- if not (options.pure_python or IS_PYPY):
+ if not (options.pure_python):
270
# C accelerators are enabled by default on 3.x
271
import pickle
272
- if not is_accelerated_module(pickle):
+ if not is_accelerated_module(pickle) and not IS_PYPY:
273
raise RuntimeError("Missing C accelerators for pickle")
274
else:
275
sys.modules['_pickle'] = None
0 commit comments