Add some disassemble tests using pytest.

This commit is contained in:
rocky
2015-12-15 17:55:57 -05:00
parent fcfe451547
commit dafca53022
11 changed files with 228 additions and 21 deletions

View File

@@ -181,7 +181,7 @@ def cmp_code_objects(version, code_obj1, code_obj2, name=''):
elif version == 3.4:
import uncompyle6.scanners.scanner34 as scan
scanner = scan.Scanner34()
scanner.setShowAsm( showasm=0 )
scanner.setShowAsm( showasm=False )
global JUMP_OPs
JUMP_OPs = scan.JUMP_OPs + ['JUMP_BACK']