Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么异步内核测试在编译的Python 3.6中失败?_Python_Python 3.x_Macos Sierra_Asyncore - Fatal编程技术网

为什么异步内核测试在编译的Python 3.6中失败?

为什么异步内核测试在编译的Python 3.6中失败?,python,python-3.x,macos-sierra,asyncore,Python,Python 3.x,Macos Sierra,Asyncore,我已经编译了Python 3.6并运行了测试,但有两个测试失败: ====================================================================== FAIL: test_handle_expt (test.test_asyncore.TestAPI_UseIPv4Poll) ---------------------------------------------------------------------- Traceback (

我已经编译了Python 3.6并运行了测试,但有两个测试失败:

======================================================================
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

哪里会出错?

这在bug追踪器上出现了两次:


第一个已作为第二个的副本关闭,第二个尚未修复。简言之,显然是这样。你需要等他们修好它。在此之前,可以安全地忽略这些故障

你用的是Mac,对吧?是的,我刚看到罚单上写着一个答案:-。顺便说一句,在扫描相关问题后,通过在bugs.python.org上创建一个问题,您有更好的机会解决您的问题。这里-在4分钟内:-D