[pypy-svn] r58997 - pypy/trunk/pypy/objspace/std/test

arigo at codespeak.net arigo at codespeak.net
Sat Oct 11 18:37:31 CEST 2008


Author: arigo
Date: Sat Oct 11 18:37:29 2008
New Revision: 58997

Modified:
   pypy/trunk/pypy/objspace/std/test/test_dictmultiobject.py
Log:
Remove this test, which is now out-of-date and has
an up-to-date duplicate.


Modified: pypy/trunk/pypy/objspace/std/test/test_dictmultiobject.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/test/test_dictmultiobject.py	(original)
+++ pypy/trunk/pypy/objspace/std/test/test_dictmultiobject.py	Sat Oct 11 18:37:29 2008
@@ -14,20 +14,6 @@
     def setup_class(cls):
         cls.space = gettestobjspace(**{"objspace.std.withmultidict": True})
 
-    def test_len_iter(self):
-        d = {1: 2, 3: 4}
-        i = iter(d)
-        assert len(i) == 2
-        x = i.next()
-        assert len(i) == 1
-        y = i.next()
-        assert len(i) == 0
-        l = [x, y]
-        l.sort()
-        assert l == [1, 3]
-        raises(StopIteration, i.next)
-        raises(StopIteration, i.next)
-
     def test_emptydict_unhashable(self):
         raises(TypeError, "{}[['x']]")
 




More information about the Pypy-commit mailing list