We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db79268 commit 9683c1aCopy full SHA for 9683c1a
src/test_typing_extensions.py
@@ -488,6 +488,9 @@ def some_other_func(): pass
488
other_overload = some_other_func
489
def some_other_func(): pass
490
self.assertEqual(list(get_overloads(some_other_func)), [other_overload])
491
+ # Unrelated function still has no overloads:
492
+ def not_overloaded(): pass
493
+ self.assertEqual(list(get_overloads(not_overloaded)), [])
494
495
# Make sure that after we clear all overloads, the registry is
496
# completely empty.
0 commit comments