Added tests for string formattings

This commit is contained in:
Dmitry Vasiliev
2008-09-21 20:19:34 +04:00
parent 6f75c9ab82
commit 4a2bf5e853

View File

@@ -67,6 +67,14 @@ RuntimeWarning FutureWarning OverflowWarning ImportWarning UnicodeWarning
" \a\b\c\"\'\n\r \x34\077 \08 \xag"
r" \" \' "
# Formattings
" %f "
"{0.name!r:b} {0[n]} {name!s: }"
"${test} ${test ${test}aname"
# Doctests.
"""