Fix test_modulefinder so it doesn't fail when run after test_distutils.
This commit is contained in:
parent
ab77227470
commit
07fdcfd6c9
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue