Commit 4d53305e authored by Stefan Behnel's avatar Stefan Behnel

Work around a bug in PyPy 7.3.4 / 7.3.5.

https://foss.heptapod.net/pypy/pypy/-/issues/3404
parent 503f828f
......@@ -592,7 +592,7 @@ def sideeffect(l):
... return self
>>> l = Listish()
>>> sideeffect(l) if getattr(sys, 'pypy_version_info', ())[:3] != (7,3,4) else [123, 'format called']
>>> sideeffect(l) if getattr(sys, 'pypy_version_info', ())[:2] != (7,3) else [123, 'format called'] # 7.3.4, 7.3.5
[123, 'format called']
"""
f"{l.append(123)}" # unused f-string !
......
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