Skip to content

Commit 2a82c7e

Browse files
committed
Fix the --testsuite option to print the unexpected warnings
1 parent 9e99ec4 commit 2a82c7e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Changelog
77

88
* Fix regression with the ``--diff`` option. (Issue #169)
99

10+
* Fix the ``TestReport`` class to print the unexpected warnings and
11+
errors.
12+
1013

1114
1.4.3 (2013-02-22)
1215
------------------

testsuite/test_pep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_file_results(self):
3737
for key in set(self.counters) - set(self._benchmark_keys):
3838
del self.counters[key]
3939
self.messages = {}
40-
return self.file_errors
40+
return super(TestReport, self).get_file_results()
4141

4242
def print_results(self):
4343
results = ("%(physical lines)d lines tested: %(files)d files, "

0 commit comments

Comments
 (0)