Try to fix buildbot failures from #13193
This commit is contained in:
parent
88c2e45367
commit
03b0819389
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue