Skip to content

Commit 3d52548

Browse files
authored
Clarify xfail on 3.14 (#1453)
fixes #1431
1 parent 61e8179 commit 3d52548

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_slots.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,11 +772,13 @@ def f(self) -> int:
772772

773773

774774
@pytest.mark.xfail(
775-
PY_3_14_PLUS, reason="3.14 returns weird annotation for cached_properies"
775+
PY_3_14_PLUS, reason="3.14 does not infer the type anymore."
776776
)
777777
def test_slots_cached_property_infers_type():
778778
"""
779-
Infers type of cached property.
779+
Infers type of cached property on Python 3.13 and earlier.
780+
781+
See also #1431.
780782
"""
781783

782784
@attrs.frozen(slots=True)

0 commit comments

Comments
 (0)