Author: Matti Picus <matti.pi...@gmail.com> Branch: Changeset: r70269:99d559ea7f5f Date: 2014-03-25 00:22 +0200 http://bitbucket.org/pypy/pypy/changeset/99d559ea7f5f/
Log: skip sandbox on windows diff --git a/pypy/sandbox/test/test_pypy_interact.py b/pypy/sandbox/test/test_pypy_interact.py --- a/pypy/sandbox/test/test_pypy_interact.py +++ b/pypy/sandbox/test/test_pypy_interact.py @@ -1,4 +1,4 @@ -import os, sys, stat, errno +import os, stat, errno, py from pypy.sandbox.pypy_interact import PyPySandboxedProc from rpython.translator.interactive import Translation @@ -9,6 +9,9 @@ SITE_PY_CONTENT = LIB_PYTHON.join('site.py').read() ERROR_TEXT = os.strerror(errno.ENOENT) +if os.name == 'nt': + py.test.skip('sandbox not supported on windows') + def assert_(cond, text): if not cond: print "assert failed:", text _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit