mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Merge pull request #176 from tkf/basedefinition-type
More detailed BaseDefinition.type (fixes #169)
This commit is contained in:
@@ -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 """
|
||||
|
||||
Reference in New Issue
Block a user