diff options
author | Michael Foord <michael@voidspace.org.uk> | 2013-02-11 12:53:21 +0000 |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2013-02-11 12:53:21 +0000 |
commit | c36bf9918929ae37db1fea149ff9d9d408e62943 (patch) | |
tree | 1aea468e9481425b43e03cf121071757d81cc863 /Lib/unittest/main.py | |
parent | cb66ee7f56fe66d4b4cb7bc6abe6e1314e98b5c9 (diff) | |
download | cpython-git-c36bf9918929ae37db1fea149ff9d9d408e62943.tar.gz |
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 1e001a6a26..b25367992d 100644 --- a/Lib/unittest/main.py +++ b/Lib/unittest/main.py @@ -159,7 +159,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 |