Skip to content

Commit 1c10d5e

Browse files
authored
fix: prepare for 3.14 beta 2 (#5697)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 6e3e851 commit 1c10d5e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

tests/test_methods_and_attributes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,9 @@ def test_property_rvalue_policy():
306306
# https://foss.heptapod.net/pypy/pypy/-/issues/2447
307307
@pytest.mark.xfail("env.PYPY")
308308
@pytest.mark.xfail(
309-
sys.version_info == (3, 14, 0, "beta", 1),
310-
reason="3.14.0b1 bug: https://github.com/python/cpython/issues/133912",
309+
sys.version_info == (3, 14, 0, "beta", 1)
310+
or sys.version_info == (3, 14, 0, "beta", 2),
311+
reason="3.14.0b1/2 bug: https://github.com/python/cpython/issues/133912",
311312
strict=True,
312313
)
313314
def test_dynamic_attributes():

tests/test_multiple_interpreters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_independent_subinterpreters():
1515

1616
sys.path.append(".")
1717

18-
# This is supposed to be added to PyPI sometime in 3.14's lifespan
18+
# This is supposed to be added in 3.14.0b3
1919
if sys.version_info >= (3, 15):
2020
import interpreters
2121
elif sys.version_info >= (3, 13):

tests/test_pickling.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ def test_roundtrip(cls_name):
6969
pytest.param(
7070
"PickleableWithDict",
7171
marks=pytest.mark.xfail(
72-
sys.version_info == (3, 14, 0, "beta", 1),
73-
reason="3.14.0b1 bug: https://github.com/python/cpython/issues/133912",
72+
sys.version_info == (3, 14, 0, "beta", 1)
73+
or sys.version_info == (3, 14, 0, "beta", 2),
74+
reason="3.14.0b1/2 bug: https://github.com/python/cpython/issues/133912",
7475
strict=True,
7576
),
7677
),

0 commit comments

Comments
 (0)