forked from VimPlug/jedi
Show line_nr of test comment, not the line after
This commit is contained in:
@@ -227,7 +227,7 @@ class IntegrationTestCase(object):
|
|||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
name = os.path.basename(self.path) if self.path else None
|
name = os.path.basename(self.path) if self.path else None
|
||||||
return '<%s: %s:%s:%s>' % (self.__class__.__name__,
|
return '<%s: %s:%s:%s>' % (self.__class__.__name__,
|
||||||
name, self.line_nr, self.line.rstrip())
|
name, self.line_nr - 1, self.line.rstrip())
|
||||||
|
|
||||||
def script(self):
|
def script(self):
|
||||||
return jedi.Script(self.source, self.line_nr, self.column, self.path)
|
return jedi.Script(self.source, self.line_nr, self.column, self.path)
|
||||||
|
|||||||
Reference in New Issue
Block a user