]> granicus.if.org Git - python/commit
Silence some ResourceWarning in test_mailbox by using file context managers.
authorBrett Cannon <bcannon@gmail.com>
Sat, 30 Oct 2010 00:13:00 +0000 (00:13 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 30 Oct 2010 00:13:00 +0000 (00:13 +0000)
commit653238a88db15c36a63ca70620f79ecd4b799d01
treeb9561e924fc65b560b72a3d36e7d595e091b83b9
parentd05f9ad30231029da69286ed3dc8eba0002499df
Silence some ResourceWarning in test_mailbox by using file context managers.
Also call super().tearDown() where appropriate.
Lib/test/test_mailbox.py