Commit 03b08193 authored by Éric Araujo's avatar Éric Araujo

Try to fix buildbot failures from #13193

parent 88c2e453
......@@ -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']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment