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/2002-July/026985.html below:

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/email/test test_email_codecs.py,1.1,1.2

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/email/test test_email_codecs.py,1.1,1.2Neal Norwitz neal@metaslash.com
Sun, 28 Jul 2002 10:03:13 -0400
Guido van Rossum wrote:
> 
> > A better fix, IMO, is to recognize that the `test' package has become
> > a full fledged standard lib package (a Good Thing, IMO), heed our own
> > admonitions not to do relative imports, and change the various places
> > in the test suite that "import test_support" (or equiv) to "import
> > test.test_support" (or equiv).
> 
> Good idea.

Shouldn't this also be done for from XXX import YYY?

    grep test_support `find Lib -name '*.py'` | \
	egrep -v '(from test |test\.test_support)' | grep import

Neal



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