Fix test_modulefinder so it doesn't fail when run after test_distutils.

This commit is contained in:
Neal Norwitz 2006-10-28 21:56:49 +00:00
parent ab77227470
commit 07fdcfd6c9
1 changed files with 1 additions and 0 deletions

View File

@ -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__":