Author: Armin Rigo <[email protected]>
Branch:
Changeset: r68133:aa90b6cfcff5
Date: 2013-11-15 08:51 +0100
http://bitbucket.org/pypy/pypy/changeset/aa90b6cfcff5/
Log: An easy fix for a large part of test_os on Windows
diff --git a/lib-python/2.7/test/test_os.py b/lib-python/2.7/test/test_os.py
--- a/lib-python/2.7/test/test_os.py
+++ b/lib-python/2.7/test/test_os.py
@@ -75,7 +75,7 @@
self.assertFalse(os.path.exists(name),
"file already exists for temporary file")
# make sure we can create the file
- open(name, "w")
+ open(name, "w").close()
self.files.append(name)
def test_tempnam(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit