From 7ee6ad5f787f597c0f62eb2ce23488dbfae927fc Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Tue, 23 Jul 2024 16:39:47 +0200 Subject: [PATCH] Fix version check --- src/test_typing_extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 6437cfe6..474c02cc 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -123,7 +123,7 @@ TYPING_3_13_0 = sys.version_info[:3] >= (3, 13, 0) # 3.13.0.rc1 fixes a problem with @deprecated -TYPING_3_13_0_RC = sys.version_info[:3] >= (3, 13, 0, "candidate") +TYPING_3_13_0_RC = sys.version_info[:4] >= (3, 13, 0, "candidate") # https://github.com/python/cpython/pull/27017 was backported into some 3.9 and 3.10 # versions, but not all