Skip to content

Commit bceee54

Browse files
hugovkwiredfool
authored andcommitted
Prevent nose -v printing docstrings (#2369)
1 parent 9099798 commit bceee54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/helper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ def skipKnownBadTest(self, msg=None, platform=None,
149149
if skip:
150150
self.skipTest(msg or "Known Bad Test")
151151

152+
def shortDescription(self):
153+
# Prevents `nose -v` printing docstrings
154+
return None
155+
152156
def tempfile(self, template):
153157
assert template[:5] in ("temp.", "temp_")
154158
fd, path = tempfile.mkstemp(template[4:], template[:4])

0 commit comments

Comments
 (0)