diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-27 23:52:03 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-27 23:52:03 +0200 |
commit | 4d4c69dc35154a9c21fed1b6b4088e741fbc6ae6 (patch) | |
tree | f4ca0640823595c1beca048f262ee5035166ec14 /Lib/asyncio/test_utils.py | |
parent | 252d40ef1ee627148ae12ab9cbf812cfeeb27655 (diff) | |
download | cpython-git-4d4c69dc35154a9c21fed1b6b4088e741fbc6ae6.tar.gz |
Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper
object is destroyed. The destructor now closes the file if needed. The close()
method can now be called twice: the second call does nothing.
Diffstat (limited to 'Lib/asyncio/test_utils.py')
0 files changed, 0 insertions, 0 deletions