PY-10829 Extracted function is inserted *after* the function where it is used

I updated test data accordingly and removed now obsolete tests about
skipping preceding comments.
This commit is contained in:
Mikhail Golubev
2015-04-02 17:37:15 +03:00
parent 77b11662fa
commit 45cc683033
41 changed files with 191 additions and 224 deletions

View File

@@ -1,8 +1,8 @@
class C:
@classmethod
def baz(cls):
print('foo', cls)
@classmethod
def foo(cls):
cls.baz()
@classmethod
def baz(cls):
print('foo', cls)