[issue21456] skip 2 tests in test_urllib2net.py if _ssl module not present

Antoine Pitrou report at bugs.python.org
Fri May 9 13:55:42 CEST 2014


Antoine Pitrou added the comment:

There isn't much point in introducing a variable named SUPPORTS_SSL, just use "ssl is not None".

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list