mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Remove additional prefix which seems incorrect
This commit is contained in:
2
sith.py
2
sith.py
@@ -153,7 +153,7 @@ class TestCase(object):
|
|||||||
prefix = ' |'
|
prefix = ' |'
|
||||||
for i, line in enumerate(self.script._code.split('\n')[lower:lineno]):
|
for i, line in enumerate(self.script._code.split('\n')[lower:lineno]):
|
||||||
print(prefix, lower + i + 1, line)
|
print(prefix, lower + i + 1, line)
|
||||||
print(prefix, ' ', ' ' * (column + len(str(lineno))), '^')
|
print(prefix, ' ' * (column + len(str(lineno))), '^')
|
||||||
|
|
||||||
def show_operation(self):
|
def show_operation(self):
|
||||||
print("%s:\n" % self.operation.capitalize())
|
print("%s:\n" % self.operation.capitalize())
|
||||||
|
|||||||
Reference in New Issue
Block a user