Senthil Kumaran added the comment:
Fixed in 478cda291bbc
Berker -
with urlopen(tmp_fileurl) as fobj:
self.assertTrue(fobj)
is enough when using context manager as the fobj gets closed automatically at
exiting of context.
Thanks.
----------
resolution: -> fixed
status: open -> closed
versions: -Python 3.3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16302>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com