forked from VimPlug/jedi
Improve IntegrationTestCase.__repr__
Having the path (together with the line only) makes it easy to go to the actual test.
This commit is contained in:
committed by
Dave Halter
parent
62915686af
commit
e621e8590c
@@ -158,7 +158,7 @@ class IntegrationTestCase(object):
|
|||||||
return self.line_nr - 1
|
return self.line_nr - 1
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<%s: %s:%s:%s>' % (self.__class__.__name__, self.module_name,
|
return '<%s: %s:%s %r>' % (self.__class__.__name__, self.path,
|
||||||
self.line_nr_test, self.line.rstrip())
|
self.line_nr_test, self.line.rstrip())
|
||||||
|
|
||||||
def script(self):
|
def script(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user