[New-bugs-announce] [issue23828] test_socket fails under -Werror

Brett Cannon report at bugs.python.org
Tue Mar 31 18:55:36 CEST 2015


New submission from Brett Cannon:

======================================================================
ERROR: testCmsgTruncLen0 (__main__.RecvmsgSCMRightsStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/bcannon/Repositories/cpython/pep-488/Lib/test/test_socket.py", line 2956, in testCmsgTruncLen0
    self.checkTruncatedArray(ancbuf=socket.CMSG_LEN(0), maxdata=0)
  File "/Users/bcannon/Repositories/cpython/pep-488/Lib/test/test_socket.py", line 2937, in checkTruncatedArray
    len(MSG), ancbuf)
  File "/Users/bcannon/Repositories/cpython/pep-488/Lib/test/test_socket.py", line 1921, in doRecvmsg
    result = sock.recvmsg(bufsize, *args)
RuntimeWarning: received malformed or improperly-truncated ancillary data

----------
components: Tests
messages: 239732
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: test_socket fails under -Werror
versions: Python 3.5

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


More information about the New-bugs-announce mailing list