mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 02:44:33 +08:00
1 parent
7300f3e7ef
commit
d3e8a9bd52
2 files changed
+10
No files matched your search
@@ -248,6 +248,14 @@ def test_type():
|
||||
for c in Script('import os; os.path.').completions():
|
||||
assert c.type
|
||||
|
||||
def test_type_II():
|
||||
"""
|
||||
GitHub Issue #833, `keyword`s are seen as `module`s
|
||||
"""
|
||||
for c in Script('f').completions():
|
||||
if c.name == 'for':
|
||||
assert c.type == 'keyword'
|
||||
|
||||
|
||||
class TestGotoAssignments(TestCase):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user