From 210c8c8fd5b52ea911c5f81f1a0c8fc74252ae6d Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Mon, 29 Jun 2015 20:04:07 +0300 Subject: [PATCH] Revert "PY-16078 Fix test data for PyConvertFormatOperatorToMethodIntentionTest" This reverts commit 27a1f4c18ac2bc6abed6ab5c6ade577846fc4c69. --- .../multi_after.py | 4 ++-- .../simple_after.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/multi_after.py b/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/multi_after.py index ef690c5d5f9e..723d635cb31c 100644 --- a/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/multi_after.py +++ b/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/multi_after.py @@ -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 diff --git a/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/simple_after.py b/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/simple_after.py index efab541beda1..4843cf4f78e6 100644 --- a/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/simple_after.py +++ b/python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/simple_after.py @@ -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)) \ No newline at end of file +print("|\077{0:>20s}FOO! {1: 5.3F}%\n|{2:<15s} {3:<10d}-torn-off, {4:+#05d}".format("right-->", 12, "<--left", -10, 20)) \ No newline at end of file