mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-01 06:03:45 +08:00
Fix deprecations in tests
This commit is contained in:
1 parent
5f6a25fb58
commit
5b54ac835d
5 files changed
+9
-5
No files matched your search
@@ -450,7 +450,7 @@ def test_completion_cache(Script, module_injector):
|
||||
|
||||
@pytest.mark.parametrize('module', ['typing', 'os'])
|
||||
def test_module_completions(Script, module):
|
||||
for c in Script('import {module}; {module}.'.format(module=module)).completions():
|
||||
for c in Script('import {module}; {module}.'.format(module=module)).complete():
|
||||
# Just make sure that there are no errors
|
||||
c.type
|
||||
c.docstring()
|
||||
Reference in new issue
Block a user