summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_warnings/data/stacklevel.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-39615: Add warnings.warn() skip_file_prefixes support (#100840)Gregory P. Smith2023-01-281-1/+7
| | | | | `warnings.warn()` gains the ability to skip stack frames based on code filename prefix rather than only a numeric `stacklevel=` via a new `skip_file_prefixes=` keyword argument.
* Issue #24305: Prevent import subsystem stack frames from being countedLarry Hastings2015-09-061-0/+9
by the warnings.warn(stacklevel=) parameter.