From 16f697c70bd6dd612d47472c63f91876a64f6e32 Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:03:46 -0400 Subject: [PATCH] typing_extensions: Fix "isinsance" typo (#12554) Fixes this error during coverage builds: ``` === Uncaught Python exception: === NameError: name 'isinsance' is not defined Traceback (most recent call last): File "fuzz_typing_extensions.py", line 65, in TestOneInput NameError: name 'isinsance' is not defined ``` Co-authored-by: Vitor Guidi --- projects/typing_extensions/fuzz_typing_extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/typing_extensions/fuzz_typing_extensions.py b/projects/typing_extensions/fuzz_typing_extensions.py index 38d1d0a7e..d6049d887 100644 --- a/projects/typing_extensions/fuzz_typing_extensions.py +++ b/projects/typing_extensions/fuzz_typing_extensions.py @@ -51,7 +51,7 @@ def TestOneInput(data): except: d1 = None d2 = None - if isinstance(d1, dict) and isinsance(d2, dict): + if isinstance(d1, dict) and isinstance(d2, dict): if d1 != d2: assert TypedDict('D1', d1) != TypedDict('D2', d2) else: