mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "PY-16078 Fix test data for PyConvertFormatOperatorToMethodIntentionTest"
This reverts commit 27a1f4c18a.
This commit is contained in:
+2
-2
@@ -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
-3
@@ -1,3 +1 @@
|
||||
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))
|
||||
Reference in New Issue
Block a user