ยปCore Development>Code coverage>Lib/test/test_warnings/data/stacklevel.py

Python code coverage for Lib/test/test_warnings/data/stacklevel.py

#countcontent
1n/a# Helper module for testing the skipmodules argument of warnings.warn()
2n/a
3n/aimport warnings
4n/a
5n/adef outer(message, stacklevel=1):
6n/a inner(message, stacklevel)
7n/a
8n/adef inner(message, stacklevel=1):
9n/a warnings.warn(message, stacklevel=stacklevel)