Skip to content

Commit 57faa34

Browse files
authored
Fix GH-84644 test
1 parent ec01821 commit 57faa34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3284,7 +3284,7 @@ def func(arg):...
32843284
def _int(arg) -> int:...
32853285

32863286
self.assertStartsWith(str(exc.exception), msg_prefix +
3287-
"<function TestSingleDispatch.test_invalid_registrations.<locals>._"
3287+
"<function TestSingleDispatch.test_invalid_registrations.<locals>._int"
32883288
)
32893289
self.assertEndsWith(str(exc.exception),
32903290
"Use either `@register(some_class)` or add a type annotation "

0 commit comments

Comments
 (0)