mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
Fix affected test data where reformat is invoked during refactoring. Also use entire sample provided by user in the corresponding test case for the issue.
49 lines
692 B
Python
49 lines
692 B
Python
class Dummny(object):
|
|
pass
|
|
|
|
|
|
class Parent(object):
|
|
"""
|
|
This class is usefull.
|
|
"""
|
|
CLASS_VAR_2 = 2
|
|
|
|
def __init__(self):
|
|
pass
|
|
|
|
def method_2(self):
|
|
i = 1
|
|
|
|
|
|
class Child_1(Parent, Dummny):
|
|
CLASS_VAR_1 = 1
|
|
|
|
def __init__(self):
|
|
self.inst_var = 12
|
|
self.bar = 64
|
|
|
|
def method_1(self):
|
|
"""
|
|
Some text
|
|
"""
|
|
pass
|
|
|
|
|
|
class Child_2(Parent, Dummny):
|
|
"""
|
|
This class implements most sophisticated algorithm
|
|
"""
|
|
CLASS_VAR_1 = 1
|
|
|
|
def __init__(self):
|
|
self.inst_var = 12
|
|
|
|
def lala(self):
|
|
pass
|
|
|
|
def method_1(self):
|
|
"""
|
|
Some text
|
|
"""
|
|
pass
|