diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-13 14:08:30 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-13 14:08:30 +0200 |
commit | f9ec18e5729387f72ad681d63baa17f861bf4839 (patch) | |
tree | 94ddc56c55069c6af2a0f8cfe630f811046a8d40 | |
parent | 2dcd3b98575cb1c20b1c850230441b8de6d4d0af (diff) | |
download | pep8-f9ec18e5729387f72ad681d63baa17f861bf4839.tar.gz |
Fix testsuite not reporting failure count in some cases.
-rwxr-xr-x | pep8.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1736,6 +1736,7 @@ class StyleGuide(object): for code in codes: if not report.counters.get(code): errors += 1 + report.total_errors += 1 print('%s: error %s not found' % (label, code)) if self.options.verbose and not errors: print('%s: passed (%s)' % |