We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec01821 commit 57faa34Copy full SHA for 57faa34
Lib/test/test_functools.py
@@ -3284,7 +3284,7 @@ def func(arg):...
3284
def _int(arg) -> int:...
3285
3286
self.assertStartsWith(str(exc.exception), msg_prefix +
3287
- "<function TestSingleDispatch.test_invalid_registrations.<locals>._"
+ "<function TestSingleDispatch.test_invalid_registrations.<locals>._int"
3288
)
3289
self.assertEndsWith(str(exc.exception),
3290
"Use either `@register(some_class)` or add a type annotation "
0 commit comments