diff options
author | Steve Purcell <steve@pythonconsulting.com> | 2003-09-30 09:25:32 (GMT) |
---|---|---|
committer | Steve Purcell <steve@pythonconsulting.com> | 2003-09-30 09:25:32 (GMT) |
commit | 3a01b7d66e4c2359026c5d68ae5ab6556c541be5 (patch) | |
tree | e2717dfa1886b889fe4ed679105c141e32569d56 /Lib | |
parent | c2b00811e0e1a086cf6c31a0fab3ac1484cf2d26 (diff) | |
download | cpython-3a01b7d66e4c2359026c5d68ae5ab6556c541be5.zip cpython-3a01b7d66e4c2359026c5d68ae5ab6556c541be5.tar.gz cpython-3a01b7d66e4c2359026c5d68ae5ab6556c541be5.tar.bz2 |
Removed redundant 'return' statement. (Issue 813159)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/unittest.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index 56c6da5..06aee9a 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -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): |