forked from VimPlug/jedi
Add type checking for sith.py run
This commit is contained in:
2
sith.py
2
sith.py
@@ -75,6 +75,8 @@ class SourceFinder(object):
|
||||
|
||||
class TestCase(object):
|
||||
def __init__(self, operation, path, line, column, traceback=None):
|
||||
if operation not in self.operations:
|
||||
raise ValueError("%s is not a valid operation" % operation)
|
||||
self.operation = operation
|
||||
self.path = path
|
||||
self.line = line
|
||||
|
||||
Reference in New Issue
Block a user