diff options
author | Éric Araujo <merwok@netwok.org> | 2011-11-05 16:51:52 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-11-05 16:51:52 (GMT) |
commit | 03b081938954a333fb5473977ee8d22e9699bc5b (patch) | |
tree | e20e132b7d676a57445de519ca545a2ceee42aff /Lib/packaging | |
parent | 88c2e45367e97b760efc1aec88f98dd3cd54a9c3 (diff) | |
download | cpython-03b081938954a333fb5473977ee8d22e9699bc5b.zip cpython-03b081938954a333fb5473977ee8d22e9699bc5b.tar.gz cpython-03b081938954a333fb5473977ee8d22e9699bc5b.tar.bz2 |
Try to fix buildbot failures from #13193
Diffstat (limited to 'Lib/packaging')
-rw-r--r-- | Lib/packaging/tests/test_command_install_data.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/packaging/tests/test_command_install_data.py b/Lib/packaging/tests/test_command_install_data.py index 7f4af41..94d6a21 100644 --- a/Lib/packaging/tests/test_command_install_data.py +++ b/Lib/packaging/tests/test_command_install_data.py @@ -99,7 +99,9 @@ class InstallDataTestCase(support.TempdirManager, self.write_file('spamd', '# Python script') sysconfig._SCHEMES.set(_get_default_scheme(), 'scripts', scripts_dir) sys.path.insert(0, install_dir) + packaging.database.disable_cache() self.addCleanup(sys.path.remove, install_dir) + self.addCleanup(packaging.database.enable_cache) cmd = install_dist(dist) cmd.outputs = ['spamd'] |