[TIP] runTest?

Chris Jerdonek chris.jerdonek at gmail.com
Tue Aug 27 17:11:53 PDT 2019

On Tue, Aug 27, 2019 at 4:43 PM Dan Stromberg <drsalists at gmail.com> wrote:

> The closest thing that would be relevant in test_runner.py looks like:
>     test_suite.addTest(TestDisposableLocks())

This is probably where it's happening. Here you're manually instantiating a
TestCase object, and since no "methodName" argument is being passed to the
constructor, it's defaulting to "runTest." (You can look at unittest's
source code to see this.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20190827/df411a79/attachment.htm>

More information about the testing-in-python mailing list