[issue19744] test_venv fails if SSL/TLS is not available

Nick Coghlan report at bugs.python.org
Mon Dec 23 14:14:02 CET 2013


Nick Coghlan added the comment:

I ended up not implementing step 3 - if you don't have SSL/TLS built, and you pass with_pip to the venv module API, or use the default settings for pyvenv, you *will* get an error from ensurepip.

Instead, I just kept the test skip in test_venv. ensurepip and test_ensurepip have been updated to provide a better traceback when SSL/TLS support is missing, though.

Tim, could you poke around at the latest version in your local build and see if the new checks are triggering? (I've assumed the ssl module can't be imported if the necessary underlying bits aren't built)

----------
assignee: ncoghlan -> tim.peters
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> pending
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19744>
_______________________________________


More information about the Python-bugs-list mailing list