Author: Antonio Cuni <[email protected]>
Branch: unicode-strategies
Changeset: r58459:d54c96393106
Date: 2012-10-26 16:07 +0200
http://bitbucket.org/pypy/pypy/changeset/d54c96393106/

Log:    fix this test

diff --git a/pypy/objspace/std/test/test_liststrategies.py 
b/pypy/objspace/std/test/test_liststrategies.py
--- a/pypy/objspace/std/test/test_liststrategies.py
+++ b/pypy/objspace/std/test/test_liststrategies.py
@@ -68,12 +68,12 @@
         assert isinstance(l.strategy, ObjectListStrategy)
 
     def test_unicode_to_any(self):
-        l = W_ListObject(self.space,
-                         
[self.space.wrap(u'a'),self.space.wrap(u'b'),self.space.wrap('c')])
-        assert isinstance(l.strategy, StringListStrategy)
-        l.append(self.space.wrap('d'))
-        assert isinstance(l.strategy, StringListStrategy)
-        l.append(self.space.wrap(3))
+        space = self.space
+        l = W_ListObject(space, [space.wrap(u'a'), space.wrap(u'b'), 
space.wrap(u'c')])
+        assert isinstance(l.strategy, UnicodeListStrategy)
+        l.append(space.wrap(u'd'))
+        assert isinstance(l.strategy, UnicodeListStrategy)
+        l.append(space.wrap(3))
         assert isinstance(l.strategy, ObjectListStrategy)
 
     def test_float_to_any(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to