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

Method check_dis

Lib/test/test_pickletools.py:166–169  ·  view source on GitHub ↗
(self, data, expected, **kwargs)

Source from the content-addressed store, hash-verified

164 maxDiff = None
165
166 def check_dis(self, data, expected, **kwargs):
167 out = io.StringIO()
168 pickletools.dis(data, out=out, **kwargs)
169 self.assertEqual(out.getvalue(), expected)
170
171 def check_dis_error(self, data, expected, expected_error, **kwargs):
172 out = io.StringIO()

Callers 15

test_markMethod · 0.95
test_indentlevelMethod · 0.95
test_mark_without_posMethod · 0.95
test_putMethod · 0.95
test_put_redefinedMethod · 0.95
test_getMethod · 0.95
test_memoMethod · 0.95
test_mark_popMethod · 0.95
test_annotateMethod · 0.95
test_stringMethod · 0.95
test_binstringMethod · 0.95
test_short_binstringMethod · 0.95

Calls 3

getvalueMethod · 0.95
disMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected