Package: src:python-websockets
Version: 3.0-1
Severity: serious
Tags: sid stretch
Forwarded: https://github.com/aaugustin/websockets/issues/123

Tests fail with python Python 3.5.2:

======================================================================
FAIL: test_local_address (websockets.test_protocol.ClientTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/packages/tmp/python-websockets-3.1/.pybuild/pythonX.Y_3.5/build/websockets/test_protocol.py",
line 261, in test_local_addre
ss
    get_extra_info.assert_called_once_with('sockname', None)
  File "/usr/lib/python3.5/unittest/mock.py", line 802, in 
assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'get_extra_info' to be called once. Called 2 times.

======================================================================
FAIL: test_remote_address (websockets.test_protocol.ClientTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/packages/tmp/python-websockets-3.1/.pybuild/pythonX.Y_3.5/build/websockets/test_protocol.py",
line 271, in test_remote_address
    get_extra_info.assert_called_once_with('peername', None)
  File "/usr/lib/python3.5/unittest/mock.py", line 802, in 
assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'get_extra_info' to be called once. Called 2 times.

======================================================================
FAIL: test_local_address (websockets.test_protocol.ServerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/packages/tmp/python-websockets-3.1/.pybuild/pythonX.Y_3.5/build/websockets/test_protocol.py",
line 261, in test_local_address
    get_extra_info.assert_called_once_with('sockname', None)
  File "/usr/lib/python3.5/unittest/mock.py", line 802, in 
assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'get_extra_info' to be called once. Called 2 times.

======================================================================
FAIL: test_remote_address (websockets.test_protocol.ServerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/packages/tmp/python-websockets-3.1/.pybuild/pythonX.Y_3.5/build/websockets/test_protocol.py",
line 271, in test_remote_address
    get_extra_info.assert_called_once_with('peername', None)
  File "/usr/lib/python3.5/unittest/mock.py", line 802, in 
assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'get_extra_info' to be called once. Called 2 times.

----------------------------------------------------------------------
Ran 231 tests in 0.899s

FAILED (failures=4, skipped=27)

Reply via email to