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-28.11:47:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359373648.05.0.289982805505.issue17052@psf.upfronthosting.co.za>
In-reply-to
Content
I will at least! :)  I noticed the issue after trying to use unittest test discovery with a custom loader.  Fortunately, there is at least this work-around (though it relies on an implementation detail):

    class MyTestProgram(unittest.TestProgram):

        # Override because of issue #17052.
        def _do_discovery(self, argv, Loader=None):
            if Loader is None:
                Loader = lambda: self.testLoader
            super(TestPizza, self)._do_discovery(argv, Loader=Loader)
History
Date User Action Args
2013-01-28 11:47:28chris.jerdoneksetrecipients: + chris.jerdonek, ezio.melotti, michael.foord
2013-01-28 11:47:28chris.jerdoneksetmessageid: <1359373648.05.0.289982805505.issue17052@psf.upfronthosting.co.za>
2013-01-28 11:47:28chris.jerdoneklinkissue17052 messages
2013-01-28 11:47:27chris.jerdonekcreate