[pypy-svn] r27632 - pypy/dist/pypy/rpython/test
antocuni at codespeak.net
antocuni at codespeak.net
Wed May 24 10:27:44 CEST 2006
Author: antocuni
Date: Wed May 24 10:27:35 2006
New Revision: 27632
Modified:
pypy/dist/pypy/rpython/test/test_rlist.py
Log:
Don't skip yet another test.
Modified: pypy/dist/pypy/rpython/test/test_rlist.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rlist.py (original)
+++ pypy/dist/pypy/rpython/test/test_rlist.py Wed May 24 10:27:35 2006
@@ -802,7 +802,6 @@
def test_inst_list(self):
- self._skip_oo('list to string')
def fn():
l = [None]
l[0] = Foo()
@@ -816,8 +815,9 @@
x = l.pop()
x = l2.pop()
return str(x)+";"+str(l)
- res = self.interpret(fn, [])
- assert self.ll_to_string(res) == '<Foo object>;[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
+ res = self.ll_to_string(self.interpret(fn, []))
+ res = res.replace('pypy.rpython.test.test_rlist.', '')
+ assert res == '<Foo object>;[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
def fn():
l = [None] * 2
@@ -830,8 +830,9 @@
l[i] = x
i += 1
return str(l)
- res = self.interpret(fn, [])
- assert self.ll_to_string(res) == '[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
+ res = self.ll_to_string(self.interpret(fn, []))
+ res = res.replace('pypy.rpython.test.test_rlist.', '')
+ assert res == '[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
def test_list_slice_minusone(self):
def fn(i):
More information about the Pypy-commit
mailing list