Author ncoghlan
Recipients Dubslow, christian.heimes, dstufft, ncoghlan, python-dev, tim.peters
Date 2013-11-25.12:58:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385384285.09.0.563803473278.issue19744@psf.upfronthosting.co.za>
In-reply-to
Content
That I can help with. Steal the "import_fresh_module helper function from test.support (or the gist of it anyway - you can likely leave out the stuff about deprecated imports):

http://hg.python.org/cpython/file/default/Lib/test/support/__init__.py#l192


Then do:

   pip_nossl = import_fresh_module("pip", blocked=["ssl"])
History
Date User Action Args
2013-11-25 12:58:05ncoghlansetrecipients: + ncoghlan, tim.peters, christian.heimes, python-dev, Dubslow, dstufft
2013-11-25 12:58:05ncoghlansetmessageid: <1385384285.09.0.563803473278.issue19744@psf.upfronthosting.co.za>
2013-11-25 12:58:05ncoghlanlinkissue19744 messages
2013-11-25 12:58:04ncoghlancreate