diff options
author | Michael Foord <michael@voidspace.org.uk> | 2013-02-11 13:20:52 (GMT) |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2013-02-11 13:20:52 (GMT) |
commit | f78f5b11f65ff6fd582d937615e8a1c3c8373662 (patch) | |
tree | 1807b2def229e35031df9fd532a4ff4856f287a7 /Lib/unittest/main.py | |
parent | 8fd396bd227ba35e0da477e5eef70e85700f186c (diff) | |
download | cpython-f78f5b11f65ff6fd582d937615e8a1c3c8373662.zip cpython-f78f5b11f65ff6fd582d937615e8a1c3c8373662.tar.gz cpython-f78f5b11f65ff6fd582d937615e8a1c3c8373662.tar.bz2 |
Correction to issue 17052 fix
Diffstat (limited to 'Lib/unittest/main.py')
-rw-r--r-- | Lib/unittest/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py index d09bccd..63c8139 100644 --- a/Lib/unittest/main.py +++ b/Lib/unittest/main.py @@ -199,7 +199,7 @@ class TestProgram(object): def _do_discovery(self, argv, Loader=None): if Loader is None: - Loader = self.testLoader + Loader = lambda: self.testLoader # handle command line args for test discovery self.progName = '%s discover' % self.progName |