mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-22 05:11:25 +08:00
forgot to cast to int with the sith run command
This commit is contained in:
3
sith.py
3
sith.py
@@ -139,7 +139,8 @@ def main(arguments):
|
|||||||
t.run(debugger)
|
t.run(debugger)
|
||||||
elif arguments['run']:
|
elif arguments['run']:
|
||||||
TestCase(arguments['<operation>'], arguments['<path>'],
|
TestCase(arguments['<operation>'], arguments['<path>'],
|
||||||
arguments['<line>'], arguments['<column>']).run(debugger)
|
int(arguments['<line>']), int(arguments['<column>'])
|
||||||
|
).run(debugger)
|
||||||
else:
|
else:
|
||||||
for _ in range(int(arguments['--maxtries'])):
|
for _ in range(int(arguments['--maxtries'])):
|
||||||
t = TestCase.generate(arguments['<path>'] or '.')
|
t = TestCase.generate(arguments['<path>'] or '.')
|
||||||
|
|||||||
Reference in New Issue
Block a user