Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
If I change this line
Line 2584 in a91f255
| pass |
to be
try: _overload_registry[f.__module__][f.__qualname__][f.__code__.co_firstlineno] =funcexceptAttributeError: # Not a normal function; ignore.raise# passtest_typing continues to pass as expected. I think it is dangerous, because we can accidentally break something and not notice.
I will send a simple test case to catch this: we should not fail.
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error