A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20120309/014ae4a7/attachment.html below:

<div><br></div><div>While testing Python 2.7 internally (at Google) I noticed that (now that ImportErrors aren&#39;t automatically test skips) lots of tests fail if you don&#39;t have the _testcapi module. These tests are (as far as I&#39;ve seen) properly marked as cpython-only, but when some wacko decides the _testcapi module shouldn&#39;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 &#39;needs_testcapi&#39; skipping decorator?</div>
<div><br></div><div>To elaborate, we are also not shipping a couple of other modules (like distutils), but it&#39;s not unreasonable to expect those to exist (we modify the testsuite for that in our own builds only, instead, as well as making all our code deal with it.) The _testcapi module, however, is internal *and* meant for tests only, and used in quite a few tests (sometimes only in a single testfunction.) </div>
<div><br></div><div>[*] &#39;a million machines&#39; is not the actual number -- I don&#39;t know the actual number (but I&#39;m sure it&#39;s bigger than that), I&#39;m just tossing out some large number.</div>-- <br>Thomas Wouters &lt;<a href="mailto:thomas@python.org">thomas@python.org</a>&gt;<br>
<br>Hi! I&#39;m a .signature virus! copy me into your .signature file to help me spread!<br>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4