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

Method test_info

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

Source from the content-addressed store, hash-verified

2350
2351 @unittest.expectedFailure # TODO: RUSTPYTHON
2352 def test_info(self):
2353 self.maxDiff = 1000
2354 for x, expected in CodeInfoTests.test_pairs:
2355 b = dis.Bytecode(x)
2356 self.assertRegex(b.info(), expected)
2357
2358 @unittest.expectedFailure # TODO: RUSTPYTHON
2359 def test_disassembled(self):

Callers

nothing calls this directly

Calls 2

infoMethod · 0.95
assertRegexMethod · 0.80

Tested by

no test coverage detected