MCPcopy Index your code
hub / github.com/python/cpython / do_disassembly_compare

Method do_disassembly_compare

Lib/test/test_dis.py:992–995  ·  view source on GitHub ↗
(self, got, expected)

Source from the content-addressed store, hash-verified

990 return count
991
992 def do_disassembly_compare(self, got, expected):
993 if got != expected:
994 got = self.strip_addresses(got)
995 self.assertEqual(got, expected)
996
997
998class DisTests(DisTestBase):

Callers 9

do_disassembly_testMethod · 0.80
test_call_specializeMethod · 0.80
test_loop_quickenMethod · 0.80
test_disassembledMethod · 0.80

Calls 2

strip_addressesMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected