From 8a05aae988c7f79de913544adc0f4212de8ebcdd Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 6 Jan 2019 15:17:54 -0800 Subject: [PATCH] Remove unused PillowTestCase.__str__ With the move to pytest, the class's string method is unused. pytest has its own test progress outputter. --- Tests/helper.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Tests/helper.py b/Tests/helper.py index c16798dca..b47604a60 100644 --- a/Tests/helper.py +++ b/Tests/helper.py @@ -53,10 +53,6 @@ class PillowTestCase(unittest.TestCase): # holds last result object passed to run method: self.currentResult = None - # Nicer output for --verbose - def __str__(self): - return self.__class__.__name__ + "." + self._testMethodName - def run(self, result=None): self.currentResult = result # remember result for use later unittest.TestCase.run(self, result) # call superclass run method