[pypy-svn] r38494 - pypy/dist/pypy
hpk at codespeak.net
hpk at codespeak.net
Sun Feb 11 18:41:25 CET 2007
Author: hpk
Date: Sun Feb 11 18:41:24 2007
New Revision: 38494
Modified:
pypy/dist/pypy/conftest.py
Log:
use sys-capturing (instead of fd) if
we are running on top of PyPy (the previous
appdirect check didn't make too much sense)
Modified: pypy/dist/pypy/conftest.py
==============================================================================
--- pypy/dist/pypy/conftest.py (original)
+++ pypy/dist/pypy/conftest.py Sun Feb 11 18:41:24 2007
@@ -135,7 +135,7 @@
at the class) ourselves.
"""
def __init__(self, *args, **kwargs):
- if option.runappdirect:
+ if hasattr(sys, 'pypy_objspaceclass'):
option.conf_iocapture = "sys" # pypy cannot do FD-based
super(Module, self).__init__(*args, **kwargs)
More information about the Pypy-commit
mailing list