[Python-Dev] test___all__ polluting sys.modules?

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Mon Dec 31 10:45:08 CET 2012


2012-12-30 15:48:30 R. David Murray napisał(a):
> On Mon, 31 Dec 2012 00:38:47 +1000, Nick Coghlan <ncoghlan at gmail.com> wrote:
> > However, specifically spinning out the "import the world" tests like
> > test_pydoc and test___all__ to a separate process might be worth the
> > effort.
> 
> Adding something to regertest (or unittest?) so that certain nominated
> test modules are run in a subprocess has been discussed previously, but
> so far no one has stepped up to implement it :) 

Actually patches have been implemented about 2 years ago, but nobody committed them.
http://bugs.python.org/issue1674555

> (I think this came up originally for test_site, but I don't remember for sure.)

Yes, test_site.

-- 
Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121231/a4cf4036/attachment.pgp>


More information about the Python-Dev mailing list