2012/3/9 Thomas Wouters <tho...@python.org>:
>
> While testing Python 2.7 internally (at Google) I noticed that (now that
> ImportErrors aren't automatically test skips) lots of tests fail if you
> don't have the _testcapi module. These tests are (as far as I've seen)
> properly marked as cpython-only, but when some wacko decides the _testcapi
> module shouldn't, for example, be shipped to a million machines[*] that are
> never going to use it, it would be nice to still run the tests that can be
> run without _testcapi. Any objections to fixing the tests to use
> test.support.import_module() for _testcapi and a 'needs_testcapi' skipping
> decorator?

Sounds fine to me. Post a patch.



-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to