You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add verify tests. Add Python 2.6 bytecode and use.
This commit is contained in:
@@ -54,15 +54,6 @@ tests['2.2'] = ['divide_future', 'divide_no_future', 'iterators',
|
||||
tests['2.3'] = tests['2.2']
|
||||
tests['2.5'] = tests['2.3']
|
||||
# tests['2.7'] = ['mine'] + tests['2.6']
|
||||
tests['2.7'] = [
|
||||
'simple_source/branching/ifelse',
|
||||
# 'simple_source/branching/if'
|
||||
'simple_source/misc/assert',
|
||||
'simple_source/misc/assign',
|
||||
# 'simple_source/call_arguments/keyword',
|
||||
# 'simple_source/call_arguments/positional'
|
||||
]
|
||||
tests['2.6'] = tests['2.7']
|
||||
|
||||
def file_matches(files, root, basenames, patterns):
|
||||
files.extend(
|
||||
@@ -79,7 +70,7 @@ for root, dirs, basenames in os.walk('simple_source'):
|
||||
simple_source.append(os.path.join(root, basename)[0:-3])
|
||||
pass
|
||||
|
||||
tests['3.3'] = tests['3.4'] = simple_source
|
||||
tests['2.6'] = tests['2.7'] = tests['3.3'] = tests['3.4'] = simple_source
|
||||
|
||||
total_tests = len(tests['2.7'])
|
||||
#tests['2.2'].sort(); print tests['2.2']
|
||||
|
Reference in New Issue
Block a user