Author: Jeremy Thurgood <[email protected]>
Branch: enumerate-rstr
Changeset: r61556:537fe824215d
Date: 2013-02-21 20:33 +0200
http://bitbucket.org/pypy/pypy/changeset/537fe824215d/

Log:    Backed out changeset 7563dcd4e19e

diff --git a/rpython/annotator/test/test_annrpython.py 
b/rpython/annotator/test/test_annrpython.py
--- a/rpython/annotator/test/test_annrpython.py
+++ b/rpython/annotator/test/test_annrpython.py
@@ -3585,26 +3585,6 @@
         s = a.build_types(f, [])
         assert isinstance(s, annmodel.SomeChar)
 
-    def test_enumerate_str(self):
-        def f():
-            for i, x in enumerate('abcd'):
-                if i == 2:
-                    return x
-            return '?'
-        a = self.RPythonAnnotator()
-        s = a.build_types(f, [])
-        assert isinstance(s, annmodel.SomeChar)
-
-    def test_enumerate_unicode(self):
-        def f():
-            for i, x in enumerate(u'abcd'):
-                if i == 2:
-                    return x
-            return '?'
-        a = self.RPythonAnnotator()
-        s = a.build_types(f, [])
-        assert isinstance(s, annmodel.SomeUnicodeCodePoint)
-
     def test_context_manager(self):
         class C:
             def __init__(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to