forked from VimPlug/jedi
removed keyword docstring functionality for goto_definitions - will be reintroduced with a Script.documentation function
This commit is contained in:
@@ -10,8 +10,8 @@ import jedi
|
||||
|
||||
|
||||
def test_is_keyword():
|
||||
results = Script('import ', 1, 1, None).goto_definitions()
|
||||
assert len(results) == 1 and results[0].is_keyword is True
|
||||
#results = Script('import ', 1, 1, None).goto_definitions()
|
||||
#assert len(results) == 1 and results[0].is_keyword is True
|
||||
results = Script('str', 1, 1, None).goto_definitions()
|
||||
assert len(results) == 1 and results[0].is_keyword is False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user