#7092: silence more -3 and -Wd warnings

This commit is contained in:
Ezio Melotti 2010-01-31 11:46:54 +00:00
parent 46bff79d1f
commit ef4909643d
5 changed files with 41 additions and 33 deletions

View file

@ -7,10 +7,15 @@ be run.
import distutils.tests
import test.test_support
import warnings
def test_main():
test.test_support.run_unittest(distutils.tests.test_suite())
with warnings.catch_warnings():
warnings.filterwarnings("ignore",
"distutils.sysconfig.\w+ is deprecated",
DeprecationWarning)
test.test_support.run_unittest(distutils.tests.test_suite())
test.test_support.reap_children()