【发布时间】:2017-02-25 19:14:40
【问题描述】:
我已经编译了 Python 3.6 并运行了测试,但其中 2 个失败:
======================================================================
FAIL: test_handle_expt (test.test_asyncore.TestAPI_UseIPv4Poll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/andrei/Python/cpython/Lib/test/test_asyncore.py", line 676, in test_handle_expt
self.loop_waiting_for_flag(client)
File "/Users/andrei/Python/cpython/Lib/test/test_asyncore.py", line 516, in loop_waiting_for_flag
self.fail("flag not set")
AssertionError: flag not set
======================================================================
FAIL: test_handle_expt (test.test_asyncore.TestAPI_UseIPv6Poll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/andrei/Python/cpython/Lib/test/test_asyncore.py", line 676, in test_handle_expt
self.loop_waiting_for_flag(client)
File "/Users/andrei/Python/cpython/Lib/test/test_asyncore.py", line 516, in loop_waiting_for_flag
self.fail("flag not set")
AssertionError: flag not set
----------------------------------------------------------------------
Ran 101 tests in 21.140s
FAILED (failures=2, skipped=6)
test test_asyncore failed
那里会出什么问题?
【问题讨论】:
-
你用的是 Mac,对吧?
-
是的,刚看到票bugs.python.org/issue28087
-
正在写一个答案:-)。顺便说一句,在扫描相关问题后,通过在 bugs.python.org 上创建问题,您更有可能解决问题。
-
星期六有点死,我没有得到任何回应。在这里——4分钟后:-D
标签: python python-3.x macos-sierra asyncore