Skip to content

Commit 4a0d76a

Browse files
brianschubertDaraan
andcommitted
Use TYPING_3_11_0
Co-authored-by: Daraan <github.blurry@9ox.net>
1 parent 5d7f637 commit 4a0d76a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test_typing_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5582,7 +5582,7 @@ def barfoo3(x: BA2): ...
55825582
BA2
55835583
)
55845584

5585-
@skipUnless(sys.version_info >= (3, 11), "TODO: evaluate nested forward refs in Python < 3.11")
5585+
@skipUnless(TYPING_3_11_0, "TODO: evaluate nested forward refs in Python < 3.11")
55865586
def test_get_type_hints_genericalias(self):
55875587
def foobar(x: list['X']): ...
55885588
X = Annotated[int, (1, 10)]

0 commit comments

Comments
 (0)