(self, func, lasti=-1, wrapper=True, **kwargs)
| 1463 | |
| 1464 | # Run the tests again, using the file arg instead of print |
| 1465 | def get_disassembly(self, func, lasti=-1, wrapper=True, **kwargs): |
| 1466 | output = io.StringIO() |
| 1467 | if wrapper: |
| 1468 | dis.dis(func, file=output, **kwargs) |
| 1469 | else: |
| 1470 | dis.disassemble(func, lasti, file=output, **kwargs) |
| 1471 | return output.getvalue() |
| 1472 | |
| 1473 | @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: No END_ASYNC_FOR in disassembly of async for |
| 1474 | def test_async_for_presentation(self): |