[New-bugs-announce] [issue16302] Fix ResourceWarning in Lib/test/test_urllib.py

Berker Peksag report at bugs.python.org
Mon Oct 22 17:46:00 CEST 2012


New submission from Berker Peksag:

See the output:

test_file_notexists (test.test_urllib.urlopen_HttpTests) ... file:///tmp/tmpmlmjhf
/home/berker/hacking/cpython/Lib/test/test_urllib.py:284: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpmlmjhf'>
  self.assertTrue(urlopen(tmp_fileurl))
ok

----------
components: Tests
files: resourcewarning_urllib_test.patch
keywords: patch
messages: 173532
nosy: berker.peksag
priority: normal
severity: normal
status: open
title: Fix ResourceWarning in Lib/test/test_urllib.py
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27662/resourcewarning_urllib_test.patch

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


More information about the New-bugs-announce mailing list