Show line_nr of test comment, not the line after
This commit is contained in:
1 parent
3b41a47c08
commit
c3aaf7b4ba
1 file changed
+1
-1
+1
-1
@@ -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