(self)
| 3469 | self.assertIsNone(r()) |
| 3470 | |
| 3471 | def test_signatures(self): |
| 3472 | @functools.singledispatch |
| 3473 | def func(item, arg: int) -> str: |
| 3474 | return str(item) |
| 3475 | @func.register |
| 3476 | def _(item: int, arg: bytes) -> str: |
| 3477 | return str(item) |
| 3478 | |
| 3479 | self.assertEqual(str(Signature.from_callable(func)), |
| 3480 | '(item, arg: int) -> str') |
| 3481 | |
| 3482 | def test_method_signatures(self): |
| 3483 | class A: |
nothing calls this directly
no test coverage detected