From: Éric Araujo Date: Sat, 5 Nov 2011 16:51:52 +0000 (+0100) Subject: Try to fix buildbot failures from #13193 X-Git-Tag: v3.3.0a1~937 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03b081938954a333fb5473977ee8d22e9699bc5b;p=thirdparty%2FPython%2Fcpython.git Try to fix buildbot failures from #13193 --- diff --git a/Lib/packaging/tests/test_command_install_data.py b/Lib/packaging/tests/test_command_install_data.py index 7f4af4195876..94d6a215b364 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']