Berker Peksag added the comment:
Thanks for the patch, Remi.
--
assignee: - berker.peksag
nosy: +berker.peksag
resolution: - fixed
stage: - resolved
status: open - closed
type: - behavior
versions: +Python 3.4
___
Python tracker
Roundup Robot added the comment:
New changeset ac55331c1df6 by Berker Peksag in branch '3.4':
Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.
https://hg.python.org/cpython/rev/ac55331c1df6
New changeset 470ea66f5bee by Berker Peksag in branch 'default':
Issue
Remi Pointel added the comment:
Are you ok with this diff reworked?
--
Added file: http://bugs.python.org/file35505/Lib_test_test_urllib2net_py.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21456
New submission from Remi Pointel:
Hi,
I tested the regress tests on a machine which does not have the ssl module, and
I have 2 errors in Lib/test/test_urllib2net.py. I think it should skip the test
instead.
Attached is a diff I wrote, it's based on Lib/test/test_poplib.py.
Don't hesitate if
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 rep...@bugs.python.org
http://bugs.python.org/issue21456