projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88c2e45
)
Try to fix buildbot failures from #13193
author
Éric Araujo
<merwok@netwok.org>
Sat, 5 Nov 2011 16:51:52 +0000
(17:51 +0100)
committer
Éric Araujo
<merwok@netwok.org>
Sat, 5 Nov 2011 16:51:52 +0000
(17:51 +0100)
Lib/packaging/tests/test_command_install_data.py
patch
|
blob
|
history
diff --git
a/Lib/packaging/tests/test_command_install_data.py
b/Lib/packaging/tests/test_command_install_data.py
index 7f4af4195876fed83efbef34656cf945f6575654..94d6a215b364958ab7b31f9a4ba45190515a057a 100644
(file)
--- 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']