Skip to content

Commit dfcf1ad

Browse files
committed
remove NOFREE flag in code info test
Python 3.11 removes this flag, see python/cpython#26839
1 parent f5b6bec commit dfcf1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest/test_std.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# 0: a"""
5151
).format(
5252
flags="0x00000000 (0x0)"
53-
if (IS_PYPY and PYTHON_VERSION_TRIPLE < (3, 5))
53+
if PYTHON_VERSION_TRIPLE >= (3,11) or (IS_PYPY and PYTHON_VERSION_TRIPLE < (3, 5))
5454
else "0x00000040 (NOFREE)"
5555
)
5656

0 commit comments

Comments
 (0)