[Python-Dev] [RELEASED] Python 3.4.0b2
Christian Heimes
christian at python.org
Mon Jan 6 07:15:55 CET 2014
On 06.01.2014 05:12, Donald Stufft wrote:
> ensurepip uses —no-index so it shouldn’t be hitting the network at all.
Do you have a test to ensure that ensurepip doesn't try to use network
connections? You could e.g. mock socket.create_connection() and
socket.socket() in a custom socket module. The subprocess makes it a
little bit more complicated to test its behavior.
Christian
More information about the Python-Dev
mailing list