Beispiel #1
0
def test_code_info():
    assert dis.code_info(TEST_SOURCE_CODE) == EXPECTED_CODE_INFO
Beispiel #2
0
 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)
Beispiel #3
0
 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)
Beispiel #4
0
def test_code_info():
    assert dis.code_info(TEST_SOURCE_CODE) == EXPECTED_CODE_INFO