commit | c473d5ebabae4375f767ae1125e1b28809d45701 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Mar 20 05:21:21 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Mar 20 05:21:21 2007 +0000 |
tree | 0939440b56900f44c249d4acf41f7f6c33eb5ad1 | |
parent | 216f9b070970a12f93489de78bb227e768ace648 [diff] [blame] |
Get rid of deprecation warning when testing commands.getstatus()
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 *