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 a808a1e commit 69b9978Copy full SHA for 69b9978
1 file changed
Lib/test/test_functools.py
@@ -3479,13 +3479,13 @@ def _(item: bytes, arg) -> str:
3479
return str(item)
3480
3481
self.assertEqual(str(Signature.from_callable(A.func)),
3482
- '(self, item, arg: int) -> str')
+ '(self, item: int, arg) -> str')
3483
self.assertEqual(str(Signature.from_callable(A().func)),
3484
3485
self.assertEqual(str(Signature.from_callable(A.cls_func)),
3486
- '(cls, item, arg: int) -> str')
+ '(cls, item: int, arg) -> str')
3487
self.assertEqual(str(Signature.from_callable(A.static_func)),
3488
- '(item, arg: int) -> str')
+ '(item: int, arg) -> str')
3489
3490
def test_method_non_descriptor(self):
3491
class Callable:
0 commit comments