[pypy-svn] r50847 - pypy/dist/lib-python/modified-2.4.1/test
arigo at codespeak.net
arigo at codespeak.net
Mon Jan 21 18:00:03 CET 2008
Author: arigo
Date: Mon Jan 21 18:00:02 2008
New Revision: 50847
Modified:
pypy/dist/lib-python/modified-2.4.1/test/test_file.py
Log:
In case the file was not garbage collected, f.tell() fails because the
file was explicitly closed a few lines above. This masks the real
error message.
Modified: pypy/dist/lib-python/modified-2.4.1/test/test_file.py
==============================================================================
--- pypy/dist/lib-python/modified-2.4.1/test/test_file.py (original)
+++ pypy/dist/lib-python/modified-2.4.1/test/test_file.py Mon Jan 21 18:00:02 2008
@@ -17,7 +17,7 @@
gc.collect()
gc.collect()
try:
- p.tell()
+ p.name
except ReferenceError:
pass
else:
More information about the Pypy-commit
mailing list