Fix collection report when collecting a single test item

This commit is contained in:
Bruno Oliveira
2017-06-03 18:42:26 -03:00
parent 87e4a28351
commit 46d157fe07
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ class TerminalReporter:
line = "collected "
else:
line = "collecting "
line += str(self._numcollected) + " items"
line += str(self._numcollected) + " item" + ('' if self._numcollected == 1 else 's')
if errors:
line += " / %d errors" % errors
if skipped: