[pypy-svn] r48185 - pypy/dist/pypy/translator/goal/test2
tismer at codespeak.net
tismer at codespeak.net
Tue Oct 30 01:12:03 CET 2007
Author: tismer
Date: Tue Oct 30 01:12:01 2007
New Revision: 48185
Modified:
pypy/dist/pypy/translator/goal/test2/test_app_main.py
Log:
three tests need to be re-designed for windows. close_fds is not supported on Windows platforms
Modified: pypy/dist/pypy/translator/goal/test2/test_app_main.py
==============================================================================
--- pypy/dist/pypy/translator/goal/test2/test_app_main.py (original)
+++ pypy/dist/pypy/translator/goal/test2/test_app_main.py Tue Oct 30 01:12:01 2007
@@ -213,6 +213,8 @@
child.sendline('X')
def test_options_i_m(self):
+ if sys.platform == "win32":
+ skip("close_fds is not supported on Windows platforms")
p = os.path.join(autopath.this_dir, 'mymodule.py')
p = os.path.abspath(p)
child = self.spawn(['-i',
@@ -234,6 +236,8 @@
child.expect('False')
def test_options_u_i(self):
+ if sys.platform == "win32":
+ skip("close_fds is not supported on Windows platforms")
import subprocess, select, os
python = sys.executable
pipe = subprocess.Popen([python, app_main, "-u", "-i"],
@@ -247,6 +251,8 @@
assert data.startswith('Python')
def test_options_u_PYTHONINSPECT(self):
+ if sys.platform == "win32":
+ skip("close_fds is not supported on Windows platforms")
import subprocess, select, os
python = sys.executable
pipe = subprocess.Popen([python, app_main, "-u"],
More information about the Pypy-commit
mailing list