Direktori : /opt/imh-python/lib/python2.7/test/ |
Current File : //opt/imh-python/lib/python2.7/test/warning_tests.py |
# 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)