Some sother small test improvements
This commit is contained in:
1 parent
aef675c79b
commit
b4628abc60
3 files changed
+14
-7
No files matched your search
@@ -545,21 +545,22 @@ class Script(object):
|
||||
string.
|
||||
:rtype: :class:`refactoring.Refactoring`
|
||||
"""
|
||||
return self._extract_variable(line, column, **kwargs)
|
||||
return self._extract_variable(line, column, **kwargs) # Python 2...
|
||||
|
||||
def _extract_variable(self, line, column, new_name): # Python 2...
|
||||
def _extract_variable(self, line, column, new_name, until_line=None, until_column=None):
|
||||
raise NotImplementedError
|
||||
|
||||
def extract_function(self, line=None, column=None, **kwargs):
|
||||
"""
|
||||
"""
|
||||
return self._extract_method(line, column, **kwargs)
|
||||
return self._extract_method(line, column, **kwargs) # Python 2...
|
||||
|
||||
def _extract_function(self, line, column, new_name): # Python 2...
|
||||
def _extract_function(self, line, column, new_name, until_line=None, until_column=None):
|
||||
raise NotImplementedError
|
||||
|
||||
def inline_variable(self, line=None, column=None, until_line=None, until_column=None):
|
||||
def inline(self, line=None, column=None):
|
||||
"""
|
||||
Inlines a variable under the cursor.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
Reference in new issue
Block a user