[Python-Dev] [Python-checkins] cpython: Skip some tests in the absence of multiprocessing.

Nick Coghlan ncoghlan at gmail.com
Thu May 19 10:54:18 CEST 2011

On Thu, May 19, 2011 at 2:51 AM, Éric Araujo <merwok at netwok.org> wrote:
> Isn’t support.import_module or somesuch useful for this kind of checks?

You have to restructure your tests into the appropriate files for that
to work, as support.import_module() throws SkipTest if the module
isn't available.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list