Python 2.6 compatability via ericfrederich's patch. DRY version-checking code

This commit is contained in:
rocky
2015-12-17 20:48:54 -05:00
parent a309a77ea7
commit 2fc2d6c699
14 changed files with 72 additions and 56 deletions

View File

@@ -53,7 +53,6 @@ tests['2.2'] = ['divide_future', 'divide_no_future', 'iterators',
tests['2.3'] = tests['2.2']
tests['2.5'] = tests['2.3']
tests['2.6'] = tests['2.5']
# tests['2.7'] = ['mine'] + tests['2.6']
tests['2.7'] = [
'simple-source/branching/ifelse',
@@ -61,6 +60,7 @@ tests['2.7'] = [
# '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(