mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +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 random
|
||||
import StringIO
|
||||
import warnings
|
||||
|
||||
import test_support
|
||||
|
||||
|
@ -323,7 +322,6 @@ def runtest(test, generate, verbose, quiet, testdir = None):
|
|||
indirect_test()
|
||||
finally:
|
||||
sys.stdout = save_stdout
|
||||
warnings.resetwarnings()
|
||||
except (ImportError, test_support.TestSkipped), msg:
|
||||
if not quiet:
|
||||
print "test", test, "skipped --", msg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue