This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Claudiu.Popa
Recipients Claudiu.Popa
Date 2014-06-03.11:12:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401793954.84.0.965903209571.issue21651@psf.upfronthosting.co.za>
In-reply-to
Content
Running asyncio tests on Windows will give a ResourceWarning. The attached patch fixes this problem.

[1/1] test_asyncio
D:\Projects\cpython\lib\test\test_asyncio\test_events.py:233: ResourceWarning: unclosed <socket.socket fd=668, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, pro
o=0, laddr=('127.0.0.1', 53044), raddr=('127.0.0.1', 53043)>
  gc.collect()
D:\Projects\cpython\lib\test\test_asyncio\test_events.py:233: ResourceWarning: unclosed <socket.socket fd=724, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, pro
o=0, laddr=('127.0.0.1', 53043), raddr=('127.0.0.1', 53044)>
  gc.collect()
1 test OK.
History
Date User Action Args
2014-06-03 11:12:34Claudiu.Popasetrecipients: + Claudiu.Popa
2014-06-03 11:12:34Claudiu.Popasetmessageid: <1401793954.84.0.965903209571.issue21651@psf.upfronthosting.co.za>
2014-06-03 11:12:34Claudiu.Popalinkissue21651 messages
2014-06-03 11:12:34Claudiu.Popacreate