This website requires JavaScript.
Explore
Help
Sign In
traverseda
/
cpython
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
984226962b
cpython
/
Lib
/
test
/
test_warnings
/
data
/
import_warning.py
4 lines
89 B
Python
Raw
Normal View
History
Unescape
Escape
Issue #24305: Prevent import subsystem stack frames from being counted by the warnings.warn(stacklevel=) parameter.
2015-09-06 04:39:37 -03:00
import
warnings
Merge from 3.5
2015-09-07 02:31:26 -03:00
warnings
.
warn
(
'
module-level warning
'
,
DeprecationWarning
,
stacklevel
=
2
)