[Patch #679505] Silence DeprecationWarning when testing rotor module

This commit is contained in:
Andrew M. Kuchling 2003-04-24 13:18:25 +00:00
parent 360088f206
commit 9f4eb6b719

View file

@ -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")