summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_uninstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/tests/test_uninstall.py')
-rw-r--r--Lib/packaging/tests/test_uninstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/packaging/tests/test_uninstall.py b/Lib/packaging/tests/test_uninstall.py
index 00e97e4..0ef7f3b 100644
--- a/Lib/packaging/tests/test_uninstall.py
+++ b/Lib/packaging/tests/test_uninstall.py
@@ -3,6 +3,7 @@ import os
import sys
from io import StringIO
import stat
+import packaging.util
from packaging.database import disable_cache, enable_cache
from packaging.run import main
@@ -43,6 +44,7 @@ class UninstallTestCase(support.TempdirManager,
def tearDown(self):
os.chdir(self.cwd)
+ packaging.util._path_created.clear()
super(UninstallTestCase, self).tearDown()
def run_setup(self, *args):