Commits

Lukas Diekmann committed aae0411

fixed test: show that listview_str returns None for other objects

  • Participants
  • Parent commits a26b314
  • Branches set-strategies

Comments (0)

Files changed (1)

File pypy/objspace/std/test/test_liststrategies.py

 
     def test_listview_str(self):
         space = self.space
-        assert space.listview_str(space.wrap("a")) == ["a"]
+        assert space.listview_str(space.wrap(1)) == None
         w_l = self.space.newlist([self.space.wrap('a'), self.space.wrap('b')])
         assert space.listview_str(w_l) == ["a", "b"]