Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53585:3dc9a177e6e0
Date: 2012-03-14 15:31 +0100
http://bitbucket.org/pypy/pypy/changeset/3dc9a177e6e0/
Log: we no longer have str._formatter_parser, kill this test
diff --git a/pypy/objspace/std/test/test_newformat.py
b/pypy/objspace/std/test/test_newformat.py
--- a/pypy/objspace/std/test/test_newformat.py
+++ b/pypy/objspace/std/test/test_newformat.py
@@ -358,12 +358,6 @@
for x in l[0]:
assert isinstance(x, str)
- def test_formatter_parser_escape(self):
- l = list("{{a}}"._formatter_parser())
- assert l == [('{', None, None, None), ('a}', None, None, None)]
- l = list("{{{{"._formatter_parser())
- assert l == [('{', None, None, None), ('{', None, None, None)]
-
def test_formatter_field_name_split(self):
import _string
first, rest = _string.formatter_field_name_split('')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit