1
0
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:
Daniel Hahler
2017-11-29 13:37:28 +01:00
committed by Dave Halter
parent 62915686af
commit e621e8590c

View File

@@ -158,7 +158,7 @@ class IntegrationTestCase(object):
return self.line_nr - 1
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())
def script(self):