From 9b96978865df793bde01fd7ed3667a410036a7d0 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 26 May 2025 12:34:23 -0400 Subject: [PATCH] fix: prepare for 3.14 beta 2 Signed-off-by: Henry Schreiner --- tests/test_methods_and_attributes.py | 5 +++-- tests/test_multiple_interpreters.py | 2 +- tests/test_pickling.py | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/test_methods_and_attributes.py b/tests/test_methods_and_attributes.py index f0085c871b..cc3a51e0d0 100644 --- a/tests/test_methods_and_attributes.py +++ b/tests/test_methods_and_attributes.py @@ -306,8 +306,9 @@ def test_property_rvalue_policy(): # https://foss.heptapod.net/pypy/pypy/-/issues/2447 @pytest.mark.xfail("env.PYPY") @pytest.mark.xfail( - sys.version_info == (3, 14, 0, "beta", 1), - reason="3.14.0b1 bug: https://github.com/python/cpython/issues/133912", + sys.version_info == (3, 14, 0, "beta", 1) + or sys.version_info == (3, 14, 0, "beta", 2), + reason="3.14.0b1/2 bug: https://github.com/python/cpython/issues/133912", strict=True, ) def test_dynamic_attributes(): diff --git a/tests/test_multiple_interpreters.py b/tests/test_multiple_interpreters.py index b1eca50585..8394e9c776 100644 --- a/tests/test_multiple_interpreters.py +++ b/tests/test_multiple_interpreters.py @@ -15,7 +15,7 @@ def test_independent_subinterpreters(): sys.path.append(".") - # This is supposed to be added to PyPI sometime in 3.14's lifespan + # This is supposed to be added in 3.14.0b3 if sys.version_info >= (3, 15): import interpreters elif sys.version_info >= (3, 13): diff --git a/tests/test_pickling.py b/tests/test_pickling.py index bd06292f4e..56f91cc4bb 100644 --- a/tests/test_pickling.py +++ b/tests/test_pickling.py @@ -69,8 +69,9 @@ def test_roundtrip(cls_name): pytest.param( "PickleableWithDict", marks=pytest.mark.xfail( - sys.version_info == (3, 14, 0, "beta", 1), - reason="3.14.0b1 bug: https://github.com/python/cpython/issues/133912", + sys.version_info == (3, 14, 0, "beta", 1) + or sys.version_info == (3, 14, 0, "beta", 2), + reason="3.14.0b1/2 bug: https://github.com/python/cpython/issues/133912", strict=True, ), ),