Author: Matti Picus <[email protected]>
Branch: 
Changeset: r70328:c3a274d4f042
Date: 2014-03-29 21:05 +0300
http://bitbucket.org/pypy/pypy/changeset/c3a274d4f042/

Log:    close file after use

diff --git a/lib-python/2.7/test/test_httpservers.py 
b/lib-python/2.7/test/test_httpservers.py
--- a/lib-python/2.7/test/test_httpservers.py
+++ b/lib-python/2.7/test/test_httpservers.py
@@ -335,6 +335,7 @@
             response = self.request(self.tempdir_name + '/')
             self.check_status_and_reason(response, 404)
             os.chmod(self.tempdir, 0755)
+        f.close()    
 
     def test_head(self):
         response = self.request(
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to