Author: Ronny Pfannschmidt <[email protected]>
Branch: py3ksupport
Changeset: r156:b2b0b52e2975
Date: 2011-11-08 01:18 +0100
http://bitbucket.org/pypy/pyrepl/changeset/b2b0b52e2975/
Log: skip functional tests in case of python3 :(
diff --git a/testing/test_functional.py b/testing/test_functional.py
--- a/testing/test_functional.py
+++ b/testing/test_functional.py
@@ -24,7 +24,10 @@
import sys
def pytest_funcarg__child(request):
- pexpect = pytest.importorskip('pexpect')
+ try:
+ pexpect = pytest.importorskip('pexpect')
+ except SyntaxError:
+ pytest.skip('pexpect wont work on py3k')
child = pexpect.spawn(sys.executable, ['-S'], timeout=10)
child.logfile = sys.stdout
child.sendline('from pyrepl.python_reader import main')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit