Add spark option to show grammer. Revise uncompyle options. Start to reorganize

tests more
This commit is contained in:
rocky
2015-12-22 03:54:17 -05:00
parent d3d375d954
commit 4f0fe90eef
67 changed files with 137 additions and 57 deletions

View File

@@ -13,11 +13,11 @@ os.chdir(src_dir)
@pytest.mark.parametrize(("test_tuple", "function_to_test"), [
(
('../test/bytecode_2.7/if.pyc', 'testdata/if-2.7.right',),
('../test/bytecode_2.7/05_if.pyc', 'testdata/if-2.7.right',),
disassemble_file
),
(
('../test/bytecode_2.7/ifelse.pyc', 'testdata/ifelse-2.7.right',),
('../test/bytecode_2.7/05_ifelse.pyc', 'testdata/ifelse-2.7.right',),
disassemble_file
),
])