diff options
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -35,6 +35,13 @@ for arg in sys.argv[1:]: else: requested.append(arg) +warnings = [] + +def warn(text): + global warnings + warnings.append(text) + print 'warning:', text + # setup BASE_DIR = os.path.abspath('test') @@ -129,13 +136,6 @@ if len(requested) == 0: else: tests = requested[:] -warnings = [] - -def warn(text): - global warnings - warnings.append(text) - print 'warning:', text - if not interpreter: warn('no interpreter provided (did not test spec interpreter validation)') if not has_node: |