mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
OK, don't call resetwarnings().
This commit is contained in:
parent
7d79948103
commit
50ac30ee01
1 changed files with 0 additions and 2 deletions
|
@ -55,7 +55,6 @@ import getopt
|
||||||
import traceback
|
import traceback
|
||||||
import random
|
import random
|
||||||
import StringIO
|
import StringIO
|
||||||
import warnings
|
|
||||||
|
|
||||||
import test_support
|
import test_support
|
||||||
|
|
||||||
|
@ -323,7 +322,6 @@ def runtest(test, generate, verbose, quiet, testdir = None):
|
||||||
indirect_test()
|
indirect_test()
|
||||||
finally:
|
finally:
|
||||||
sys.stdout = save_stdout
|
sys.stdout = save_stdout
|
||||||
warnings.resetwarnings()
|
|
||||||
except (ImportError, test_support.TestSkipped), msg:
|
except (ImportError, test_support.TestSkipped), msg:
|
||||||
if not quiet:
|
if not quiet:
|
||||||
print "test", test, "skipped --", msg
|
print "test", test, "skipped --", msg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue