diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-20 15:34:28 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-20 15:34:28 +0200 |
| commit | 45763d0d12c22fdfc61ea130af5757bc71a96519 (patch) | |
| tree | 6987e6b5ab2c0868bd250a6e2a792aa0625b3d3a /Lib/unittest | |
| parent | cc9564ecd8cea04e20bd0fac235117cfbb660d6b (diff) | |
| parent | 60c3c9f91820ee90c9ebc15addae15bbef17bd9b (diff) | |
| download | cpython-git-45763d0d12c22fdfc61ea130af5757bc71a96519.tar.gz | |
Merge with 3.2.
Diffstat (limited to 'Lib/unittest')
| -rw-r--r-- | Lib/unittest/test/test_program.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/test_program.py b/Lib/unittest/test/test_program.py index a50a2452c2..d5d0f5a71c 100644 --- a/Lib/unittest/test/test_program.py +++ b/Lib/unittest/test/test_program.py @@ -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 |
