PY-16078 Fix test data for PyConvertFormatOperatorToMethodIntentionTest

This commit is contained in:
Mikhail Golubev
2015-06-05 15:42:34 +03:00
parent dad110d424
commit 27a1f4c18a
2 changed files with 5 additions and 3 deletions
@@ -8,6 +8,6 @@ a = "{n:d} bottles of {what:s} on the {where:s}" \
ur"pass it {how:>8s}" \
"{new_n:#d} {{that is, {percent:+3.2f}% less}} " \
"bottles of {what:>6s} on the {where:s}" \
.format(n=n, where="wall", howmuch=u'one', how="'round\t", new_n=(n - 1), percent=100 * (1 - ((n - 1.0) / n)),
what="beer")
.format(n=n, where="wall", howmuch=u'one', how="'round\t", new_n=(n - 1),
percent=100 * (1 - ((n - 1.0) / n)), what="beer")
print a
@@ -1 +1,3 @@
print("|\077{0:>20s}FOO! {1: 5.3F}%\n|{2:<15s} {3:<10d}-torn-off, {4:+#05d}".format("right-->", 12, "<--left", -10, 20))
print("|\077{0:>20s}FOO! {1: 5.3F}%\n|{2:<15s} {3:<10d}-torn-off, {4:+#05d}".format("right-->", 12,
"<--left", -10,
20))