|
28 | 28 | transforms,
|
29 | 29 | util,
|
30 | 30 | )
|
31 |
| -from astroid.const import IS_PYPY, PY310_PLUS, PY312_PLUS, Context |
| 31 | +from astroid.const import IS_PYPY, PY310_PLUS, PY311_PLUS, PY312_PLUS, Context |
32 | 32 | from astroid.context import InferenceContext
|
33 | 33 | from astroid.exceptions import (
|
34 | 34 | AstroidBuildingError,
|
@@ -966,8 +966,8 @@ def functools_property(self): return 42
|
966 | 966 | ):
|
967 | 967 | self._is_property(ast, prop)
|
968 | 968 |
|
969 |
| - @pytest.mark.skipif(not PY310_PLUS, reason="Uses enum.property") |
970 |
| - def test_is_standard_property_py310(self) -> None: |
| 969 | + @pytest.mark.skipif(not PY311_PLUS, reason="Uses enum.property") |
| 970 | + def test_is_standard_property_py311(self) -> None: |
971 | 971 | # Test to make sure the Python-provided property decorators
|
972 | 972 | # are properly interpreted as properties
|
973 | 973 | ast = builder.parse(
|
@@ -1102,8 +1102,8 @@ def annotated_user_functools_property(self): return 42
|
1102 | 1102 | ):
|
1103 | 1103 | self._is_property(ast, prop)
|
1104 | 1104 |
|
1105 |
| - @pytest.mark.skipif(not PY310_PLUS, reason="Uses enum.property") |
1106 |
| - def test_is_standard_property_subclass_py310(self) -> None: |
| 1105 | + @pytest.mark.skipif(not PY311_PLUS, reason="Uses enum.property") |
| 1106 | + def test_is_standard_property_subclass_py311(self) -> None: |
1107 | 1107 | # Test to make sure that subclasses of the Python-provided property decorators
|
1108 | 1108 | # are properly interpreted as properties
|
1109 | 1109 | ast = builder.parse(
|
|
0 commit comments