Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
eaaaee8c569475614d16e3abf087228673bce9fc
/
.
/
Lib
/
test
/
test_warnings
/
data
/
import_warning.py
blob: d6ea2ce1046e9444ae55232dc6537c3b5ba15db0 [
file
] [
log
] [
blame
]
Larry Hastings
714e493
2015-09-06 00:39:37 -0700
[
diff
] [
blame
]
1
import
warnings
2
3
warnings
.
warn
(
'module-level warning'
,
DeprecationWarning
,
stacklevel
=
2
)