Skip to content

Commit 03b0819

Browse files
committed
Try to fix buildbot failures from #13193
1 parent 88c2e45 commit 03b0819

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/packaging/tests/test_command_install_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ def test_resources(self):
9999
self.write_file('spamd', '# Python script')
100100
sysconfig._SCHEMES.set(_get_default_scheme(), 'scripts', scripts_dir)
101101
sys.path.insert(0, install_dir)
102+
packaging.database.disable_cache()
102103
self.addCleanup(sys.path.remove, install_dir)
104+
self.addCleanup(packaging.database.enable_cache)
103105

104106
cmd = install_dist(dist)
105107
cmd.outputs = ['spamd']

0 commit comments

Comments
 (0)