Skip to content

Commit

Permalink
typing_extensions: Fix "isinsance" typo (#12554)
Browse files Browse the repository at this point in the history
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 <vitorguidi@gmail.com>
  • Loading branch information
correctmost and vitorguidi authored Oct 7, 2024
1 parent 2091719 commit 16f697c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/typing_extensions/fuzz_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 16f697c

Please sign in to comment.