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 r.david.murray
Recipients barry, benjamin.peterson, janssen, kevinwatters, ncoghlan, r.david.murray, rhettinger, rmore, rtucker, scott.dial
Date 2009-12-06.20:41:44
SpamBayes Score 1.0063617e-12
Marked as misclassified No
Message-id <1260132107.26.0.582474564237.issue5949@psf.upfronthosting.co.za>
In-reply-to
Content
The traceback I posted was a spurious result of my misunderstanding your
test code.  With -uall it worked fine.  Sorry that I didn't make that clear.

Thanks for doing the work of putting the extended test framework
together.  Without that, this would probably have remained stuck.

I don't think the test_socketserver code is a particularly good example
of unittest code, though, so I refactored what you did into something I
like better.  I may be wrong, so feedback welcome.

Alternative test_imaplib patch attached.

Note that in looking at this I discovered that the test suite as a whole
does not currently handle --without-threads cleanly.  I've opened issue
7449 for this.  Since test_imaplib currently only has one
non-thread-dependent test, I've written my version of the patch so that
the whole test is skipped if threading is not available (this skip will
come with an appropriate message in the test output).

Note also that my code generates a traceback analogous to the one I
posted but only when run under -R.  I'll have to look in to that.
History
Date User Action Args
2009-12-06 20:41:47r.david.murraysetrecipients: + r.david.murray, barry, rhettinger, ncoghlan, janssen, scott.dial, kevinwatters, benjamin.peterson, rmore, rtucker
2009-12-06 20:41:47r.david.murraysetmessageid: <1260132107.26.0.582474564237.issue5949@psf.upfronthosting.co.za>
2009-12-06 20:41:45r.david.murraylinkissue5949 messages
2009-12-06 20:41:44r.david.murraycreate