mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
added refactoring tests - non functional
This commit is contained in:
17
test/refactor/extract.py
Normal file
17
test/refactor/extract.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# --- a
|
||||
def test():
|
||||
#? 25 a
|
||||
return test(1, (30 + b, c) + 1)
|
||||
|
||||
# +++
|
||||
def test():
|
||||
a = (30 + b, c) + 1
|
||||
return test(a)
|
||||
|
||||
# --- multiline
|
||||
def test():
|
||||
return test(1, (30 + b, c) + 1)
|
||||
# +++
|
||||
def test():
|
||||
a = (30 + b, c) + 1
|
||||
return test(a)
|
||||
Reference in New Issue
Block a user