diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-03-02 22:58:01 (GMT) | 
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-03-02 22:58:01 (GMT) | 
| commit | bd56722a274287b4ce6212569aff546b572923ab (patch) | |
| tree | 1da1f89058215408c9a170f5811e7f289146f393 /Lib/test/test_argparse.py | |
| parent | 3f75cc5cb59fde350c64f4584966b59038faaa05 (diff) | |
| download | cpython-bd56722a274287b4ce6212569aff546b572923ab.zip cpython-bd56722a274287b4ce6212569aff546b572923ab.tar.gz cpython-bd56722a274287b4ce6212569aff546b572923ab.tar.bz2 | |
remove code to avoid BaseException.message bug
Diffstat (limited to 'Lib/test/test_argparse.py')
| -rw-r--r-- | Lib/test/test_argparse.py | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index f589061..e1bc83a 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -4183,12 +4183,6 @@ class TestImportStar(TestCase):  def test_main():      with warnings.catch_warnings(): -        # silence Python 2.6 buggy warnings about Exception.message -        warnings.filterwarnings( -            action='ignore', -            message='BaseException.message has been deprecated as of' -            'Python 2.6', -            category=DeprecationWarning)          # silence warnings about version argument - these are expected          warnings.filterwarnings(              action='ignore', | 
