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

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.importmodule 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.

Cheers, Nick.

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



More information about the Python-Dev mailing list