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

2014-10-10 Thread Roundup Robot
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 #2145

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

2014-10-10 Thread Berker Peksag
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

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

2014-06-06 Thread Remi Pointel
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 ___ __

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

2014-05-09 Thread Antoine Pitrou
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 ___ __

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

2014-05-09 Thread Remi Pointel
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