1
0
forked from VimPlug/jedi

Last fixes, because of the Name.get_definition change. The recent parser.representation changes are now fully working and we're ready to improve Evaluator.goto again.

This commit is contained in:
Dave Halter
2014-09-06 13:23:00 +02:00
parent ece9fdf4ae
commit ca536baf9b
2 changed files with 3 additions and 3 deletions

View File

@@ -130,5 +130,5 @@ def test_goto_definition_not_multiple():
def test_usage_description():
for u in api.Script('foo = ''; foo').usages():
assert u.description == 'foo'
descs = [u.description for u in api.Script("foo = ''; foo").usages()]
assert set(descs) == {"foo = ''", 'foo'}