(self)
| 433 | |
| 434 | @skip_without("trio") |
| 435 | def test_autoawait_trio_wrong_sleep(self): |
| 436 | iprc("%autoawait trio") |
| 437 | res = iprc_nr( |
| 438 | """ |
| 439 | import asyncio |
| 440 | await asyncio.sleep(0) |
| 441 | """ |
| 442 | ) |
| 443 | with self.assertRaises(TypeError): |
| 444 | res.raise_error() |
| 445 | |
| 446 | @skip_without("trio") |
| 447 | def test_autoawait_asyncio_wrong_sleep(self): |
nothing calls this directly
no test coverage detected