summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_commands.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-03-20 05:21:21 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-03-20 05:21:21 (GMT)
commitc473d5ebabae4375f767ae1125e1b28809d45701 (patch)
tree0939440b56900f44c249d4acf41f7f6c33eb5ad1 /Lib/test/test_commands.py
parent216f9b070970a12f93489de78bb227e768ace648 (diff)
downloadcpython-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.py4
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 *