[pypy-svn] r72920 - pypy/branch/fix-win/pypy/module/posix/test
arigo at codespeak.net
arigo at codespeak.net
Fri Mar 26 19:04:36 CET 2010
Author: arigo
Date: Fri Mar 26 19:04:35 2010
New Revision: 72920
Modified:
pypy/branch/fix-win/pypy/module/posix/test/test_posix2.py
Log:
Slight increase of clarity.
Modified: pypy/branch/fix-win/pypy/module/posix/test/test_posix2.py
==============================================================================
--- pypy/branch/fix-win/pypy/module/posix/test/test_posix2.py (original)
+++ pypy/branch/fix-win/pypy/module/posix/test/test_posix2.py Fri Mar 26 19:04:35 2010
@@ -309,7 +309,8 @@
os = self.posix
for i in range(5):
stream = os.popen('echo 1')
- assert stream.read() == '1\n'
+ res = stream.read()
+ assert res == '1\n'
stream.close()
if hasattr(__import__(os.name), '_getfullpathname'):
More information about the Pypy-commit
mailing list