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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19740>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to