MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_disassemble_async_generator

Method test_disassemble_async_generator

Lib/test/test_dis.py:1208–1211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1206 self.assertEqual(gen_disas, gen_func_disas)
1207
1208 def test_disassemble_async_generator(self):
1209 agen_func_disas = self.get_disassembly(_ag) # Async generator function
1210 agen_disas = self.get_disassembly(_ag(1)) # Async generator iterator
1211 self.assertEqual(agen_disas, agen_func_disas)
1212
1213 def test_disassemble_coroutine(self):
1214 coro_func_disas = self.get_disassembly(_co) # Coroutine function

Callers

nothing calls this directly

Calls 3

get_disassemblyMethod · 0.95
_agFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected