Issue2315

classification
Title: test_ssl failure on Windows
Type: behaviour Severity: normal
Components: Library Versions: Jython 2.7
Milestone: Jython 2.7.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: zyasoft Nosy List: jeff.allen, zyasoft
Priority: Keywords: test failure causes

Created on 2015-04-06.20:10:57 by jeff.allen, last changed 2015-09-17.20:35:38 by zyasoft.

Messages
msg9773 (view) Author: Jeff Allen (jeff.allen) Date: 2015-04-06.20:10:57
Observed in Jython 2.7rc2 on Windows 7:

======================================================================
ERROR: test_wrapped_unconnected (__main__.BasicSocketTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\test\test_ssl.py", line 206, in test_wrapped_unconnected
    self.assertRaises(socket.error, ss.sendto, b'x', ('0.0.0.0', 0))
  File "C:\jython\2.7rc2\Lib\unittest\case.py", line 476, in assertRaises
    callableObj(*args, **kwargs)
  File "C:\jython\2.7rc2\Lib\ssl.py", line 192, in sendto
    raise socket_error(errno.EPROTO)
AttributeError: type object 'org.python.modules.errno' has no attribute 'EPROTO'

----------------------------------------------------------------------

Single failing test in this suite.
msg10227 (view) Author: Jim Baker (zyasoft) Date: 2015-09-04.04:58:06
Fixed as of https://hg.python.org/jython/rev/b3b82ef080a9
History
Date User Action Args
2015-09-17 20:35:38zyasoftsetstatus: pending -> closed
2015-09-04 04:58:06zyasoftsetstatus: open -> pending
resolution: fixed
messages: + msg10227
2015-07-28 15:37:39zyasoftsetassignee: zyasoft
nosy: + zyasoft
milestone: Jython 2.7.1
2015-04-06 20:10:57jeff.allencreate