Commit 93976c28 authored by Denis Bilenko's avatar Denis Bilenko

xtest_pep8.py: print the command used to run pep8 in case of error

parent 158fd479
......@@ -34,7 +34,7 @@ def system(*args):
result = popen_result.read()
if result:
sys.stderr.write(result)
raise AssertionError('pep8 failed')
raise AssertionError('"%s" failed' % str(command)[:100])
class Test(unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment