(self)
| 1230 | self.assertEqual(agen_disas, agen_func_disas) |
| 1231 | |
| 1232 | def test_disassemble_coroutine(self): |
| 1233 | coro_func_disas = self.get_disassembly(_co) # Coroutine function |
| 1234 | coro = _co(1) # Coroutine object |
| 1235 | coro.close() # Avoid a RuntimeWarning (never awaited) |
| 1236 | coro_disas = self.get_disassembly(coro) |
| 1237 | self.assertEqual(coro_disas, coro_func_disas) |
| 1238 | |
| 1239 | def test_disassemble_fstring(self): |
| 1240 | self.do_disassembly_test(_fstring, dis_fstring) |
nothing calls this directly
no test coverage detected