Issue #7051: Clarify behaviour of 'g' and 'G'-style formatting.
[python.git] / Lib / test / warning_tests.py
blobd0519effdc8785c3386ea562fc700ad2b914e34c
1 # Helper module for testing the skipmodules argument of warnings.warn()
3 import warnings
5 def outer(message, stacklevel=1):
6 inner(message, stacklevel)
8 def inner(message, stacklevel=1):
9 warnings.warn(message, stacklevel=stacklevel)