Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few...
[blender.git] / source / tests / bl_test.py
index 5dd7dbe32d7836515df9f01817e14dd7a322ecb1..cfe91356444f60f3bddbef3c7b737c090ee233de 100644 (file)
@@ -170,7 +170,9 @@ def main():
         md5_update = md5_instance.update
 
         for f in md5_source:
-            md5_update(open(f, "rb").read())
+            filehandle = open(f, "rb")
+            md5_update(filehandle.read())
+            filehandle.close()
 
         md5_new = md5_instance.hexdigest()