]> granicus.if.org Git - python/commitdiff
Removed redundant 'return' statement. (Issue 813159)
authorSteve Purcell <steve@pythonconsulting.com>
Tue, 30 Sep 2003 09:25:32 +0000 (09:25 +0000)
committerSteve Purcell <steve@pythonconsulting.com>
Tue, 30 Sep 2003 09:25:32 +0000 (09:25 +0000)
Lib/unittest.py

index 56c6da5d3ccb15ef01ddf11e822803b9d95f445c..06aee9a46138232477a53241f297953a03261e2c 100644 (file)
@@ -46,7 +46,7 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 
 __author__ = "Steve Purcell"
 __email__ = "stephen_purcell at yahoo dot com"
-__version__ = "#Revision: 1.57 $"[11:-2]
+__version__ = "#Revision: 1.58 $"[11:-2]
 
 import time
 import sys
@@ -517,7 +517,6 @@ class TestLoader:
             return self.loadTestsFromTestCase(obj)
         elif type(obj) == types.UnboundMethodType:
             return parent(obj.__name__)
-            return obj.im_class(obj.__name__)
         elif isinstance(obj, unittest.TestSuite):
             return obj
         elif callable(obj):