[pypy-svn] r27631 - pypy/dist/pypy/rpython/test

antocuni at codespeak.net antocuni at codespeak.net
Wed May 24 10:22:12 CEST 2006


Author: antocuni
Date: Wed May 24 10:22:02 2006
New Revision: 27631

Modified:
   pypy/dist/pypy/rpython/test/test_rlist.py
Log:
Don't skip a test that now passes.



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:22:02 2006
@@ -735,7 +735,6 @@
 
 
     def test_list_str(self):
-        self._skip_oo('int to string')
         def fn():
             return str([1,2,3])
 
@@ -803,7 +802,7 @@
 
 
     def test_inst_list(self):
-        self._skip_oo('strings')
+        self._skip_oo('list to string')
         def fn():
             l = [None]
             l[0] = Foo()
@@ -818,7 +817,7 @@
             x = l2.pop()
             return str(x)+";"+str(l)
         res = self.interpret(fn, [])
-        assert ''.join(res.chars) == '<Foo object>;[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
+        assert self.ll_to_string(res) == '<Foo object>;[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
 
         def fn():
             l = [None] * 2
@@ -832,7 +831,7 @@
                 i += 1
             return str(l)
         res = self.interpret(fn, [])
-        assert ''.join(res.chars) == '[<Foo object>, <Bar object>, <Bar object>, <Foo object>, <Foo object>]'
+        assert self.ll_to_string(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