Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r70854:76f6e721510b
Date: 2014-04-22 10:24 -0700
http://bitbucket.org/pypy/pypy/changeset/76f6e721510b/

Log:    proper cleanup by closing files when done

diff --git a/pypy/module/cppyy/test/test_cint.py 
b/pypy/module/cppyy/test/test_cint.py
--- a/pypy/module/cppyy/test/test_cint.py
+++ b/pypy/module/cppyy/test/test_cint.py
@@ -343,6 +343,8 @@
             i += 1
         assert i == self.N
 
+        f.Close()
+
     def test07_write_builtin(self):
         """Test writing of builtins"""
 
@@ -409,6 +411,7 @@
             assert mytree.my_int  == i+1
             assert mytree.my_int2 == i+1
 
+        f.Close()
 
 class AppTestCINTREGRESSION:
     spaceconfig = dict(usemodules=['cppyy', '_rawffi', 'itertools'])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to