Skip to content

Commit fab668f

Browse files
author
Ralf Schlatterbeck
committed
Don't allow docstrings of test override the description printed for the test.
1 parent 471951b commit fab668f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ def __init__(self, stream, descriptions, verbosity, debug=0,
184184
self._progressWithNames = 0
185185
self._count = count
186186
self._testtimes = {}
187+
# docstrings for tests don't override test-descriptions:
188+
self.descriptions = False
187189
if progress and verbosity == 1:
188190
self.dots = 0
189191
self._progressWithNames = 1

0 commit comments

Comments
 (0)