Merge pull request #176 from tkf/basedefinition-type

More detailed BaseDefinition.type (fixes #169)
This commit is contained in:
David Halter
2013-03-15 10:36:53 -07:00
4 changed files with 70 additions and 9 deletions

View File

@@ -319,7 +319,7 @@ class TestRegression(TestBase):
# attributes
objs = itertools.chain.from_iterable(r.follow_definition() for r in c)
types = [o.type for o in objs]
assert 'Import' not in types and 'Class' in types
assert 'import' not in types and 'class' in types
def test_keyword_definition_doc(self):
""" github jedi-vim issue #44 """