diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2003-04-24 13:18:25 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2003-04-24 13:18:25 (GMT) |
commit | 9f4eb6b719104868f904484778e2e9cf0fba59b0 (patch) | |
tree | f5211700de0df73d3bd3cdfd478d1f0cb04e8d58 /Lib | |
parent | 360088f2064380061eb3dfa39bfd3e704065be35 (diff) | |
download | cpython-9f4eb6b719104868f904484778e2e9cf0fba59b0.zip cpython-9f4eb6b719104868f904484778e2e9cf0fba59b0.tar.gz cpython-9f4eb6b719104868f904484778e2e9cf0fba59b0.tar.bz2 |
[Patch #679505] Silence DeprecationWarning when testing rotor module
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_rotor.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_rotor.py b/Lib/test/test_rotor.py index 28c5af5..eeec55a 100644 --- a/Lib/test/test_rotor.py +++ b/Lib/test/test_rotor.py @@ -1,3 +1,9 @@ +import warnings + +warnings.filterwarnings("ignore", + category=DeprecationWarning, + message='.*is deprecated', module=__name__) + import rotor r = rotor.newrotor("you'll never guess this") |