Sign in
gfiber
/
toolchains
/
bruno_arm
/
bc5c399107e959219b6999df04393778520a65f0
/
.
/
python-runtime
/
lib
/
python2.7
/
test
/
warning_tests.py
blob: d0519effdc8785c3386ea562fc700ad2b914e34c [
file
] [
log
] [
blame
]
# Helper module for testing the skipmodules argument of warnings.warn()
import
warnings
def
outer
(
message
,
stacklevel
=
1
):
inner
(
message
,
stacklevel
)
def
inner
(
message
,
stacklevel
=
1
):
warnings
.
warn
(
message
,
stacklevel
=
stacklevel
)