summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_warnings/data
Commit message (Collapse)AuthorAgeFilesLines
* gh-39615: Add warnings.warn() skip_file_prefixes support (#100840)Gregory P. Smith2023-01-282-1/+17
| | | | | `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.
* Merge from 3.5Steve Dower2015-09-071-1/+1
|
* Issue #24305: Prevent import subsystem stack frames from being countedLarry Hastings2015-09-062-0/+12
by the warnings.warn(stacklevel=) parameter.