Home | History | Annotate | Download | only in test
      1 # Helper module for testing the skipmodules argument of warnings.warn()
      2 
      3 import warnings
      4 
      5 def outer(message, stacklevel=1):
      6     inner(message, stacklevel)
      7 
      8 def inner(message, stacklevel=1):
      9     warnings.warn(message, stacklevel=stacklevel)
     10