A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107680.html below:

[Python-Dev] Location of tests for packages

[Python-Dev] Location of tests for packages [Python-Dev] Location of tests for packagesNick Coghlan ncoghlan at gmail.com
Wed Jan 26 02:30:27 CET 2011
On Wed, Jan 26, 2011 at 4:16 AM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> FWIW, I am +0 on consolidating tests under Lib/test.  One of the
> reasons that I have not seen mentioned is that it is well-known that
> test package is not part of the official stdlib API and can be
> changes/restructured in backward incompatible ways. It is not obvious
> whether the same applies to say lib2to3.tests or ctypes.test.

I am +0 for the same reason as Alexander. The test subpackages should
either be moved under the test package, or, for packages with PyPI
distributed backports for previous versions, they should be prefixed
with a leading underscore to make it clear that they're private
implementation details and backwards compatibility guarantees don't
apply.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

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