This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, ezio.melotti, michael.foord
Date 2013-01-27.10:11:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359281511.22.0.555240068262.issue17052@psf.upfronthosting.co.za>
In-reply-to
Content
The _do_discovery() method of unittest.TestProgram:

    def _do_discovery(self, argv, Loader=loader.TestLoader):

(from http://hg.python.org/cpython/file/2cf89e2e6247/Lib/unittest/main.py#l222 )

should be using self.testLoader instead of loader.TestLoader.  It's not consistent for some parts of TestProgram to use loader.TestLoader and other parts to use the testLoader passed in via the constructor.
History
Date User Action Args
2013-01-27 10:11:51chris.jerdoneksetrecipients: + chris.jerdonek, ezio.melotti, michael.foord
2013-01-27 10:11:51chris.jerdoneksetmessageid: <1359281511.22.0.555240068262.issue17052@psf.upfronthosting.co.za>
2013-01-27 10:11:51chris.jerdoneklinkissue17052 messages
2013-01-27 10:11:50chris.jerdonekcreate