blob: 2e1d140949926ad914dfe4afc19fbd9923a3f042 [file]
import warnings
warnings.warn("the deprecated module is deprecated; use a non-deprecated module instead",
DeprecationWarning, 2)
def bar():
import warnings
warnings.warn("this is deprecated", DeprecationWarning, 2)