From bceee54895f851028b76e75eca3149f41fa4c44d Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 20 Jan 2017 21:10:02 +0200 Subject: [PATCH] Prevent nose -v printing docstrings (#2369) --- Tests/helper.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/helper.py b/Tests/helper.py index f4b6b52cf..f8eed3e2d 100644 --- a/Tests/helper.py +++ b/Tests/helper.py @@ -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])