From: Neal Norwitz Date: Sat, 28 Oct 2006 21:56:49 +0000 (+0000) Subject: Fix test_modulefinder so it doesn't fail when run after test_distutils. X-Git-Tag: v2.6a1~2500 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07fdcfd6c96f972836574d65fbc039891e664755;p=thirdparty%2FPython%2Fcpython.git Fix test_modulefinder so it doesn't fail when run after test_distutils. --- diff --git a/Lib/test/test_modulefinder.py b/Lib/test/test_modulefinder.py index 36d81ca6adb0..18cc32207204 100644 --- a/Lib/test/test_modulefinder.py +++ b/Lib/test/test_modulefinder.py @@ -257,6 +257,7 @@ class ModuleFinderTest(unittest.TestCase): self._do_test(relative_import_test_2) def test_main(): + distutils.log.set_threshold(distutils.log.WARN) test_support.run_unittest(ModuleFinderTest) if __name__ == "__main__":