[Python-Dev] test___all__ polluting sys.modules? (original) (raw)

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 > testpydoc 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 testsite, 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