Prevent nose -v printing docstrings (#2369)

This commit is contained in:
Hugo 2017-01-20 21:10:02 +02:00 committed by wiredfool
parent 9099798ff2
commit bceee54895

View File

@ -149,6 +149,10 @@ class PillowTestCase(unittest.TestCase):
if skip:
self.skipTest(msg or "Known Bad Test")
def shortDescription(self):
# Prevents `nose -v` printing docstrings
return None
def tempfile(self, template):
assert template[:5] in ("temp.", "temp_")
fd, path = tempfile.mkstemp(template[4:], template[:4])