mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
the temporary pyc package should always be removed
This commit is contained in:
@@ -46,9 +46,11 @@ def test_pyc():
|
|||||||
"""
|
"""
|
||||||
The list of completion must be greater than 2.
|
The list of completion must be greater than 2.
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
generate_pyc()
|
generate_pyc()
|
||||||
s = jedi.Script("from dummy_package import dummy; dummy.")
|
s = jedi.Script("from dummy_package import dummy; dummy.")
|
||||||
assert len(s.completions()) >= 2
|
assert len(s.completions()) >= 2
|
||||||
|
finally:
|
||||||
shutil.rmtree("dummy_package")
|
shutil.rmtree("dummy_package")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user