Commit 3a01b7d6 authored by Steve Purcell's avatar Steve Purcell

Removed redundant 'return' statement. (Issue 813159)

parent c2b00811
...@@ -46,7 +46,7 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. ...@@ -46,7 +46,7 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
__author__ = "Steve Purcell" __author__ = "Steve Purcell"
__email__ = "stephen_purcell at yahoo dot com" __email__ = "stephen_purcell at yahoo dot com"
__version__ = "#Revision: 1.57 $"[11:-2] __version__ = "#Revision: 1.58 $"[11:-2]
import time import time
import sys import sys
...@@ -517,7 +517,6 @@ class TestLoader: ...@@ -517,7 +517,6 @@ class TestLoader:
return self.loadTestsFromTestCase(obj) return self.loadTestsFromTestCase(obj)
elif type(obj) == types.UnboundMethodType: elif type(obj) == types.UnboundMethodType:
return parent(obj.__name__) return parent(obj.__name__)
return obj.im_class(obj.__name__)
elif isinstance(obj, unittest.TestSuite): elif isinstance(obj, unittest.TestSuite):
return obj return obj
elif callable(obj): elif callable(obj):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment