mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge with 3.2.
This commit is contained in:
commit
45763d0d12
2 changed files with 9 additions and 2 deletions
|
@ -189,7 +189,7 @@ class TestCommandLineArgs(unittest.TestCase):
|
|||
class FakeTP(unittest.TestProgram):
|
||||
def parseArgs(self, *args, **kw): pass
|
||||
def runTests(self, *args, **kw): pass
|
||||
warnoptions = sys.warnoptions
|
||||
warnoptions = sys.warnoptions[:]
|
||||
try:
|
||||
sys.warnoptions[:] = []
|
||||
# no warn options, no arg -> default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue