mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
Instead of zip completions (for tests) use something else, see discussions in #1020
This commit is contained in:
@@ -26,10 +26,7 @@ describe 'pyimport'
|
||||
|
||||
Expect jedi#py_import_completions('subproc', 0, 0) == 'subprocess'
|
||||
Expect jedi#py_import_completions('subprocess', 0, 0) == 'subprocess'
|
||||
let g:comp = jedi#py_import_completions('zip', 0, 0)
|
||||
" Sometimes zipapp is in there sometimes not, depends on Python
|
||||
" version.
|
||||
let g:comp = substitute(g:comp, '^zipapp\n', '', '')
|
||||
Expect g:comp == "zipfile\nzipimport"
|
||||
let g:comp = jedi#py_import_completions('sre_', 0, 0)
|
||||
Expect g:comp == "sre_compile\nsre_constants\nsre_parse"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user