From c473d5ebabae4375f767ae1125e1b28809d45701 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 20 Mar 2007 05:21:21 +0000 Subject: [PATCH] Get rid of deprecation warning when testing commands.getstatus() --- Lib/test/test_commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index b72a1b9b6a..d899d6699e 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 * -- 2.50.1