diff options
Diffstat (limited to 'python/testData/refactoring/inlinelocal')
5 files changed, 16 insertions, 0 deletions
diff --git a/python/testData/refactoring/inlinelocal/py5832.after.py b/python/testData/refactoring/inlinelocal/py5832.after.py index 6b78080fbe57..bde7ba338a65 100644 --- a/python/testData/refactoring/inlinelocal/py5832.after.py +++ b/python/testData/refactoring/inlinelocal/py5832.after.py @@ -1,3 +1,5 @@ def foo(arg): print arg + + foo(('a', 'b'))
\ No newline at end of file diff --git a/python/testData/refactoring/inlinelocal/referenceInParenthesis.after.py b/python/testData/refactoring/inlinelocal/referenceInParenthesis.after.py new file mode 100644 index 000000000000..67bea27b020e --- /dev/null +++ b/python/testData/refactoring/inlinelocal/referenceInParenthesis.after.py @@ -0,0 +1,3 @@ +print ('spam!' * 42) +('spam!' * 42) +hex('spam!' * 42)
\ No newline at end of file diff --git a/python/testData/refactoring/inlinelocal/referenceInParenthesis.before.py b/python/testData/refactoring/inlinelocal/referenceInParenthesis.before.py new file mode 100644 index 000000000000..da3059f478cd --- /dev/null +++ b/python/testData/refactoring/inlinelocal/referenceInParenthesis.before.py @@ -0,0 +1,5 @@ +x<caret> = 'spam!' * 42 + +print (x) +(x) +hex(x)
\ No newline at end of file diff --git a/python/testData/refactoring/inlinelocal/resultExceedsRightMargin.after.py b/python/testData/refactoring/inlinelocal/resultExceedsRightMargin.after.py new file mode 100644 index 000000000000..acc61d6ec5ae --- /dev/null +++ b/python/testData/refactoring/inlinelocal/resultExceedsRightMargin.after.py @@ -0,0 +1,3 @@ +result = '123456789|123456789|123456789|123456789|123456789|' + \ + '123456789|123456789|123456789|123456789|123456789|' + \ + '123456789|123456789|123456789|123456789|123456789|'
\ No newline at end of file diff --git a/python/testData/refactoring/inlinelocal/resultExceedsRightMargin.before.py b/python/testData/refactoring/inlinelocal/resultExceedsRightMargin.before.py new file mode 100644 index 000000000000..8910b0d40270 --- /dev/null +++ b/python/testData/refactoring/inlinelocal/resultExceedsRightMargin.before.py @@ -0,0 +1,3 @@ +s = '123456789|123456789|123456789|123456789|123456789|' + +result = s + s + s
\ No newline at end of file |