1
0
forked from VimPlug/jedi

Fix an issue in sith where there we have accessed a removed Jedi property.

This commit is contained in:
Dave Halter
2017-01-24 09:57:43 +01:00
parent f4b8a02d37
commit 551c122cf8

View File

@@ -149,7 +149,7 @@ class TestCase(object):
# Three lines ought to be enough
lower = lineno - show if lineno - show > 0 else 0
prefix = ' |'
for i, line in enumerate(self.script.source.split('\n')[lower:lineno]):
for i, line in enumerate(self.script._source.split('\n')[lower:lineno]):
print(prefix, lower + i + 1, line)
print(prefix, ' ', ' ' * (column + len(str(lineno))), '^')