[Python-checkins] r54458 - python/trunk/Lib/test/test_commands.py
neal.norwitz
python-checkins at python.org
Tue Mar 20 06:21:24 CET 2007
Author: neal.norwitz
Date: Tue Mar 20 06:21:21 2007
New Revision: 54458
Modified:
python/trunk/Lib/test/test_commands.py
Log:
Get rid of deprecation warning when testing commands.getstatus()
Modified: python/trunk/Lib/test/test_commands.py
==============================================================================
--- python/trunk/Lib/test/test_commands.py (original)
+++ python/trunk/Lib/test/test_commands.py Tue Mar 20 06:21:21 2007
@@ -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 *
More information about the Python-checkins
mailing list