mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Prevent nose -v printing docstrings (#2369)
This commit is contained in:
parent
9099798ff2
commit
bceee54895
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue
Block a user