Author: Brian Kearns <[email protected]>
Branch:
Changeset: r73185:46aab882b557
Date: 2014-08-29 14:14 -0400
http://bitbucket.org/pypy/pypy/changeset/46aab882b557/
Log: rfile test write after close
diff --git a/rpython/rlib/test/test_rfile.py b/rpython/rlib/test/test_rfile.py
--- a/rpython/rlib/test/test_rfile.py
+++ b/rpython/rlib/test/test_rfile.py
@@ -16,6 +16,13 @@
f = open(fname, "w")
f.write("dupa")
f.close()
+ try:
+ f.write("dupb")
+ except ValueError:
+ pass
+ else:
+ assert False
+ f.close()
f()
self.interpret(f, [])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit