[New-bugs-announce] [issue19740] test_asyncio problems on 32-bit Windows

Tim Peters report at bugs.python.org
Sat Nov 23 23:13:28 CET 2013


New submission from Tim Peters:

With current default branch, test_asyncio always fails on my 32-bit Windows Vista box, in test_wait_for_handle:

test test_asyncio failed -- Traceback (most recent call last):
  File "C:\Code\Python\lib\test\test_asyncio\test_windows_events.py", line 122, in test_wait_for_handle
    self.assertTrue(f.result())
AssertionError: False is not true

If I comment out that line, the rest of the test passes.

There's also a pile of annoying warnings:

C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=456, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0>
  gc.collect()
C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=200, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0>
  gc.collect()
C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=476, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0>
  gc.collect()
C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=508, family=AddressFamily.AF_INET6, type=SocketType.SOCK_STREAM, proto=0>
  gc.collect()
C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=528, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 61433), raddr=('127.0.0.1', 61434)>
  gc.collect()
C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=516, fami
ly=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 61434), raddr=('127.0.0.1', 61433)>
  gc.collect()
C:\Code\Python\lib\test\test_asyncio\test_events.py:195: ResourceWarning: unclosed <socket.socket fd=556, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0>
  gc.collect()
C:\Code\Python\lib\unittest\case.py:571: ResourceWarning: unclosed <socket.socket fd=544, family=AddressFamily
.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 61652), raddr=('127.0.0.1', 61651)>
  testMethod()

----------
assignee: gvanrossum
messages: 204116
nosy: gvanrossum, tim.peters
priority: normal
severity: normal
status: open
title: test_asyncio problems on 32-bit Windows
versions: Python 3.4

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


More information about the New-bugs-announce mailing list