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,6 +258,7 @@ def test_pymain_opt(): ...@@ -258,6 +258,7 @@ def test_pymain_opt():
check([]) check([])
check(["-O"]) check(["-O"])
if not (is_pypy and PY2): # https://foss.heptapod.net/pypy/pypy/-/issues/3356
check(["-OO"]) check(["-OO"])
check(["-OOO"]) check(["-OOO"])
check(["-O", "-O"]) check(["-O", "-O"])
......
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