[pypy-commit] pypy set-strategies: fixed tests: stringobject has now a listview_str method, too
l.diekmann
noreply at buildbot.pypy.org
Wed Jan 11 15:55:31 CET 2012
Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: set-strategies
Changeset: r51229:37da0bb1707e
Date: 2012-01-11 15:54 +0100
http://bitbucket.org/pypy/pypy/changeset/37da0bb1707e/
Log: fixed tests: stringobject has now a listview_str method, too
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
@@ -420,7 +420,7 @@
def test_listview_str(self):
space = self.space
- assert space.listview_str(space.wrap("a")) is None
+ assert space.listview_str(space.wrap("a")) == ["a"]
w_l = self.space.newlist([self.space.wrap('a'), self.space.wrap('b')])
assert space.listview_str(w_l) == ["a", "b"]
More information about the pypy-commit
mailing list