diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-03-20 05:21:21 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-03-20 05:21:21 (GMT) |
commit | c473d5ebabae4375f767ae1125e1b28809d45701 (patch) | |
tree | 0939440b56900f44c249d4acf41f7f6c33eb5ad1 /Lib/test/test_commands.py | |
parent | 216f9b070970a12f93489de78bb227e768ace648 (diff) | |
download | cpython-c473d5ebabae4375f767ae1125e1b28809d45701.zip cpython-c473d5ebabae4375f767ae1125e1b28809d45701.tar.gz cpython-c473d5ebabae4375f767ae1125e1b28809d45701.tar.bz2 |
Get rid of deprecation warning when testing commands.getstatus()
Diffstat (limited to 'Lib/test/test_commands.py')
-rw-r--r-- | Lib/test/test_commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index b72a1b9..d899d66 100644 --- a/Lib/test/test_commands.py +++ b/Lib/test/test_commands.py @@ -4,6 +4,10 @@ ''' import unittest import os, tempfile, re +import warnings + +warnings.filterwarnings('ignore', r".*commands.getstatus.. is deprecated", + DeprecationWarning) from test.test_support import TestSkipped, run_unittest, reap_children from commands import * |