mirror of
https://github.com/python/cpython.git
synced 2025-12-10 19:10:59 +00:00
Fix test_modulefinder so it doesn't fail when run after test_distutils.
This commit is contained in:
parent
ab77227470
commit
07fdcfd6c9
1 changed files with 1 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ class ModuleFinderTest(unittest.TestCase):
|
||||||
self._do_test(relative_import_test_2)
|
self._do_test(relative_import_test_2)
|
||||||
|
|
||||||
def test_main():
|
def test_main():
|
||||||
|
distutils.log.set_threshold(distutils.log.WARN)
|
||||||
test_support.run_unittest(ModuleFinderTest)
|
test_support.run_unittest(ModuleFinderTest)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue