Skip to content

Commit 571b2ba

Browse files
committed
skip for 3.9
1 parent aba3e79 commit 571b2ba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_code_context_extractor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3961,6 +3961,7 @@ def test_get_external_base_class_inits_empty_when_no_inheritance(tmp_path: Path)
39613961
assert result.code_strings == []
39623962

39633963

3964+
@pytest.mark.skipif(sys.version_info < (3, 11), reason="enum.StrEnum requires Python 3.11+")
39643965
def test_dependency_classes_kept_in_read_writable_context(tmp_path: Path) -> None:
39653966
"""Tests that classes used as dependencies (enums, dataclasses) are kept in read-writable context.
39663967

0 commit comments

Comments
 (0)