[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
- Previous message: [Python-Dev] [Python-checkins] cpython: Skip some tests in the absence of multiprocessing.
- Next message: [Python-Dev] Equality testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] [Python-checkins] cpython: Skip some tests in the absence of multiprocessing.
- Next message: [Python-Dev] Equality testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]