the temporary pyc package should always be removed

This commit is contained in:
Dave Halter
2014-03-15 14:31:37 +01:00
parent 266330c815
commit ce7cf53628

View File

@@ -46,9 +46,11 @@ def test_pyc():
"""
The list of completion must be greater than 2.
"""
try:
generate_pyc()
s = jedi.Script("from dummy_package import dummy; dummy.")
assert len(s.completions()) >= 2
finally:
shutil.rmtree("dummy_package")