[pypy-svn] r38564 - pypy/dist/pypy/module/posix/test
arigo at codespeak.net
arigo at codespeak.net
Mon Feb 12 15:30:06 CET 2007
Author: arigo
Date: Mon Feb 12 15:30:05 2007
New Revision: 38564
Modified:
pypy/dist/pypy/module/posix/test/test_posix2.py
Log:
Workaround for inspect.getsource().
Modified: pypy/dist/pypy/module/posix/test/test_posix2.py
==============================================================================
--- pypy/dist/pypy/module/posix/test/test_posix2.py (original)
+++ pypy/dist/pypy/module/posix/test/test_posix2.py Mon Feb 12 15:30:05 2007
@@ -111,6 +111,7 @@
pid1, status1 = os.waitpid(pid, 0)
assert pid1 == pid
# XXX check status1
+ pass # <- please, inspect.getsource(), don't crash
if hasattr(__import__(os.name), "execv"): # and fork
def test_execv(self):
@@ -135,6 +136,7 @@
os.waitpid(pid, 0)
assert open("onefile").read() == "xxx"
os.unlink("onefile")
+ pass # <- please, inspect.getsource(), don't crash
if hasattr(__import__(os.name), 'popen'):
def test_popen(self):
More information about the Pypy-commit
mailing list