(x)
| 645 | self.assertEqual(Ham.f.__annotations__, {'_Spam__kw': 1}) |
| 646 | # Check for SF Bug #1697248 - mixing decorators and a return annotation |
| 647 | def null(x): return x |
| 648 | @null |
| 649 | def f(x) -> list: pass |
| 650 | self.assertEqual(f.__annotations__, {'return': list}) |