[pypy-svn] r47265 - pypy/dist/pypy/interpreter/test
ac at codespeak.net
ac at codespeak.net
Sun Oct 7 16:58:53 CEST 2007
Author: ac
Date: Sun Oct 7 16:58:52 2007
New Revision: 47265
Modified:
pypy/dist/pypy/interpreter/test/test_syntax.py
Log:
Allways run the tests of features of python 2.5
Modified: pypy/dist/pypy/interpreter/test/test_syntax.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_syntax.py (original)
+++ pypy/dist/pypy/interpreter/test/test_syntax.py Sun Oct 7 16:58:52 2007
@@ -1,4 +1,5 @@
import py
+from pypy.conftest import gettestobjspace
def splitcases(s):
lines = [line.rstrip() for line in s.split('\n')]
@@ -258,14 +259,8 @@
class Py25AppTest:
def setup_class(self):
- space = self.space
- w_not_25 = space.appexec([], """():
- import sys
- return sys.version_info < (2,5)
- """)
- not_25 = space.is_true(w_not_25)
- if not_25:
- py.test.skip('Needs python 2.5 grammar')
+ self.space = gettestobjspace(pyversion='2.5a')
+ return
class AppTestCondExpr(Py25AppTest):
def test_condexpr(self):
More information about the pypy-svn
mailing list