Another review suggestion

This commit is contained in:
Dave Halter
2020-07-26 13:14:27 +02:00
parent 020d7a9acb
commit 0dec1a4003

View File

@@ -29,7 +29,7 @@ def clean_parso_cache():
"""
old = cache._default_cache_path
tmp = tempfile.mkdtemp(prefix='parso-test-')
cache._default_cache_path = Path(str(tmp))
cache._default_cache_path = Path(tmp)
yield
cache._default_cache_path = old
shutil.rmtree(tmp)