Fix cosmetic error in warnings

This commit is contained in:
Gilles Peskine 2019-09-20 17:56:29 +02:00
parent 168858f52d
commit 283df2e90c

View file

@ -37,7 +37,7 @@ class Results:
def warning(self, file_name, line_number, fmt, *args): def warning(self, file_name, line_number, fmt, *args):
sys.stderr.write(('{}:{}:Warning:' + fmt + '\n') sys.stderr.write(('{}:{}:Warning:' + fmt + '\n')
.format(file_name, line_number, args)) .format(file_name, line_number, *args))
self.warnings += 1 self.warnings += 1
def collect_test_directories(): def collect_test_directories():