(self)
| 2526 | self.assertEqual(foo().send(None), 1) |
| 2527 | |
| 2528 | def test_tp_await_2(self): |
| 2529 | # Test tp_await to __await__ mapping |
| 2530 | from _testcapi import awaitType as at |
| 2531 | future = at(iter([1])) |
| 2532 | self.assertEqual(next(future.__await__()), 1) |
| 2533 | |
| 2534 | def test_tp_await_3(self): |
| 2535 | from _testcapi import awaitType as at |
nothing calls this directly
no test coverage detected