[New-bugs-announce] [issue21456] skip 2 tests in test_urllib2net.py if _ssl module not present

Remi Pointel report at bugs.python.org
Fri May 9 09:03:50 CEST 2014


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 I miss a thing.

Remi.

----------
components: Tests
files: Lib_test_test_urllib2net_py.diff
keywords: patch
messages: 218139
nosy: rpointel
priority: normal
severity: normal
status: open
title: skip 2 tests in test_urllib2net.py if _ssl module not present
versions: Python 3.5
Added file: http://bugs.python.org/file35192/Lib_test_test_urllib2net_py.diff

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


More information about the New-bugs-announce mailing list