def test_code_info(): assert dis.code_info(TEST_SOURCE_CODE) == EXPECTED_CODE_INFO
def test_code_info(self): self.skipTest('Reconcile differences in format') return self.maxDiff = 1000 for x, expected in self.test_pairs: self.assertRegex(dis.code_info(x), expected)