From 0dec1a40039aba7a662ce891eccfb89940836bd2 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 26 Jul 2020 13:14:27 +0200 Subject: [PATCH] Another review suggestion --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index 51b3edc..35a1846 100644 --- a/conftest.py +++ b/conftest.py @@ -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)