Commit cd59f5a5 authored by Kirill Smelkov's avatar Kirill Smelkov

gpython: tests: Don't verify -OO on PyPy2

PyPy2 implements -OO differently compared to CPython and it breaks zope.interfaces
at import time: https://foss.heptapod.net/pypy/pypy/-/issues/3356.
parent 9eb579f4
......@@ -258,10 +258,11 @@ def test_pymain_opt():
check([])
check(["-O"])
check(["-OO"])
check(["-OOO"])
check(["-O", "-O"])
check(["-O", "-O", "-O"])
if not (is_pypy and PY2): # https://foss.heptapod.net/pypy/pypy/-/issues/3356
check(["-OO"])
check(["-OOO"])
check(["-O", "-O"])
check(["-O", "-O", "-O"])
# pymain -V/--version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment