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 orsenthil
Recipients berker.peksag, orsenthil, serhiy.storchaka
Date 2012-10-23.00:09:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350950985.86.0.973667417747.issue16302@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-10-23 00:09:45orsenthilsetrecipients: + orsenthil, berker.peksag, serhiy.storchaka
2012-10-23 00:09:45orsenthilsetmessageid: <1350950985.86.0.973667417747.issue16302@psf.upfronthosting.co.za>
2012-10-23 00:09:45orsenthillinkissue16302 messages
2012-10-23 00:09:45orsenthilcreate