|
a/AlluraTesting/alluratest/test_syntax.py |
|
b/AlluraTesting/alluratest/test_syntax.py |
|
... |
|
... |
26 |
# skip some that aren't critical errors
|
26 |
# skip some that aren't critical errors
|
27 |
skips = [
|
27 |
skips = [
|
28 |
'imported but unused',
|
28 |
'imported but unused',
|
29 |
'redefinition of unused',
|
29 |
'redefinition of unused',
|
30 |
'assigned to but never used',
|
30 |
'assigned to but never used',
|
|
|
31 |
'__version__',
|
31 |
]
|
32 |
]
|
32 |
proc = Popen(find_py, shell=True, cwd=toplevel_dir, stdout=PIPE, stderr=PIPE)
|
33 |
proc = Popen(find_py, shell=True, cwd=toplevel_dir, stdout=PIPE, stderr=PIPE)
|
33 |
(find_stdout, stderr) = proc.communicate()
|
34 |
(find_stdout, stderr) = proc.communicate()
|
34 |
sys.stderr.write(stderr)
|
35 |
sys.stderr.write(stderr)
|
35 |
assert proc.returncode == 0, proc.returncode
|
36 |
assert proc.returncode == 0, proc.returncode
|