diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-30 07:22:54 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-30 07:22:54 +0000 |
commit | a2d465374099c582ef9bc042c2fe1be4776ee641 (patch) | |
tree | f1740160c63e081382daea49b1dee4a1eb9b8433 /Lib/test/test_commands.py | |
parent | 75d3fb1ebb13b143b2840b761b736237bf48f714 (diff) | |
download | cpython-git-a2d465374099c582ef9bc042c2fe1be4776ee641.tar.gz |
#7092: silence py3k warnings for deprecated modules
Diffstat (limited to 'Lib/test/test_commands.py')
-rw-r--r-- | Lib/test/test_commands.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index fcfa616cb7..27b6c3d56c 100644 --- a/Lib/test/test_commands.py +++ b/Lib/test/test_commands.py @@ -9,7 +9,10 @@ import warnings warnings.filterwarnings('ignore', r".*commands.getstatus.. is deprecated", DeprecationWarning) -from test.test_support import run_unittest, reap_children +from test.test_support import run_unittest, reap_children, import_module + +# Silence Py3k warning +import_module('commands', deprecated=True) from commands import * # The module says: |