(self)
| 3560 | self.assertIsNone(r()) |
| 3561 | |
| 3562 | def test_signatures(self): |
| 3563 | @functools.singledispatch |
| 3564 | def func(item, arg: int) -> str: |
| 3565 | return str(item) |
| 3566 | @func.register |
| 3567 | def _(item: int, arg: bytes) -> str: |
| 3568 | return str(item) |
| 3569 | |
| 3570 | self.assertEqual(str(Signature.from_callable(func)), |
| 3571 | '(item, arg: int) -> str') |
| 3572 | |
| 3573 | def test_method_signatures(self): |
| 3574 | class A: |
nothing calls this directly
no test coverage detected