4 tests are failing
- 主要语言
- Python
- 星标
- 431
- 派生
- 57
- PR 合并指标
- 30 天内没有已合并 PR
描述
4 tests are failing for me with aiozmq revision 7ab57b78a532cee4b9cd93eadf25d7b51952e82c, Python 3.4.1 on Windows 7. Is this expected?
I am investigating RPC calls timing out (although my RPC methods finish on time), so I'm wondering if the failing tests may be relevant.
```
Q:\Users\arvek\Repositories\accc-gui\aiozmq [master]> python .\runtests.py
Skipping 'events_test': don't check
..ssssss......................................................................................................................F............................F.......s..........s......s........
........................................................F..ss................................F..ss............................
======================================================================
FAIL: test_server_close (rpc_test.LoopLessRpcTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\rpc_test.py", line 615, in test_server_close
self.loop.run_until_complete(communicate())
File "C:\Python34\lib\asyncio\base_events.py", line 208, in run_until_complete
return future.result()
File "C:\Python34\lib\asyncio\futures.py", line 243, in result
raise self._exception
File "C:\Python34\lib\asyncio\tasks.py", line 321, in _step
result = next(coro)
File "tests\rpc_test.py", line 606, in communicate
self.assertEqual(1, len(server._proto.pending_waiters))
AssertionError: 1 != 0
======================================================================
FAIL: test_server_close (rpc_test.LoopRpcTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\rpc_test.py", line 615, in test_server_close
self.loop.run_until_complete(communicate())
File "C:\Python34\lib\asyncio\base_events.py", line 208, in run_until_complete
return future.result()
File "C:\Python34\lib\asyncio\futures.py", line 243, in result
raise self._exception
File "C:\Python34\lib\asyncio\tasks.py", line 321, in _step
result = next(coro)
File "tests\rpc_test.py", line 606, in communicate
self.assertEqual(1, len(server._proto.pending_waiters))
AssertionError: 1 != 0
======================================================================
FAIL: test_close_on_error (zmq_events_test.ZmqLooplessTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\zmq_events_test.py", line 745, in test_close_on_error
check_errno(88, handler.call_args[0][1]['exception'])
File "Q:\Users\arvek\Repositories\accc-gui\aiozmq\aiozmq\_test_util.py", line 226, in check_errno
assert exc.errno == errno, (exc, errno)
AssertionError: (OSError(128, 'Unknown error'), 88)
======================================================================
FAIL: test_close_on_error (zmq_events_test.ZmqEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\zmq_events_test.py", line 745, in test_close_on_error
check_errno(88, handler.call_args[0][1]['exception'])
File "Q:\Users\arvek\Repositories\accc-gui\aiozmq\aiozmq\_test_util.py", line 226, in check_errno
assert exc.errno == errno, (exc, errno)
AssertionError: (OSError(128, 'Unknown error'), 88)
----------------------------------------------------------------------
Ran 316 tests in 15.244s
FAILED (failures=4, skipped=13)
```
贡献指南
评估
这个 Issue 还没有评估数据。