summaryrefslogtreecommitdiff
path: root/src/_pytest/warnings.py
AgeCommit message (Expand)Author
2020-10-02py36+: remove TYPE_CHECKING from _pytest.compatAnthony Sottile
2020-09-04Integrate warnings filtering directly into Config (#7700)Bruno Oliveira
2020-08-19PytestDeprecationWarning no longer a hard errorBruno Oliveira
2020-08-01Format docstrings in a consistent styleRan Benita
2020-07-22Change pytest deprecation warnings into errors for 6.0 release (#7362)Bruno Oliveira
2020-07-07Point to stable docs instead of latestBruno Oliveira
2020-06-19Fix exception causes all over the codebaseRam Rachum
2020-06-05Type annotate _pytest.warningsRan Benita
2020-06-05Type annotate some more hooks & implsRan Benita
2020-06-05Type annotate some hookspecs & implsRan Benita
2020-06-02warnings: fix missing None in existing hook & add some docs (#7288)Ran Benita
2020-05-27provide missing location parameter, and add type annotations to the hookspecGleb Nikonorov
2020-05-25Address all feedback, minus the empty sring v None nodeid which is being disc...Gleb Nikonorov
2020-05-24rename pytest_warning_record -> pytest_warning_recordedGleb Nikonorov
2020-05-24cleanup code pre prGleb Nikonorov
2020-05-24Add in a new hook pytest_warning_recorded for warning captureGleb Nikonorov
2020-05-07warnings: speed up work done in catch_warnings_for_item()Ran Benita
2020-02-15cacheprovider: use warnings directlyDaniel Hahler
2020-01-31Merge branch 'master' into master-to-featuresRan Benita
2020-01-30typing: pytest_collectionDaniel Hahler
2019-11-22Add stacklevel tests for warnings, 'location' to pytest_warning_capturedPhilipp Loose
2019-11-13fix typo in _issue_warning_captured docDaniel Hahler
2019-10-23Fix check_untyped_defs errors in warningsRan Benita
2019-10-20doc: improve help for filterwarningsDaniel Hahler
2019-06-30Remove 'RemovedInPytest4Warning'Bruno Oliveira
2019-06-05Turn PytestDeprecationWarning into errorBruno Oliveira
2019-06-03pre-commit run pyupgrade --all-filesAnthony Sottile
2019-06-03pre-commit run reorder-python-imports --all-filesAnthony Sottile
2019-06-03pre-commit run fix-encoding-pragma --all-filesAnthony Sottile
2019-06-02Drop Python 2.7 and 3.4 supportBruno Oliveira
2019-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2019-03-24doc: improve warning_record_to_strDaniel Hahler
2018-12-14Remove config.warn, Node.warn; pytest_logwarning issues a warning when implem...Bruno Oliveira
2018-11-22Adjust stacklevel of "config" warningsBruno Oliveira
2018-11-12Change RemovedInPytest4Warnings to errors by defaultBruno Oliveira
2018-10-25Apply reorder-python-imports to all filesAnthony Sottile
2018-10-18Use safe_str() to format warning message about unicode in Python 2Bruno Oliveira
2018-09-22Show deprecation warnings even if filters are customizedBruno Oliveira
2018-09-11-W now takes precedence over filters in ini filesBruno Oliveira
2018-09-05No longer escape regex in pytest.mark.filterwarningsBruno Oliveira
2018-09-04Revert to having just "runtest" as "when" parameter of the pytest_warning_cap...Bruno Oliveira
2018-09-04Add "setup", "call" and "teardown" values to "when" parameter of pytest_warni...Bruno Oliveira
2018-09-04Revert pytest_terminal_summary(tryfirst) in warnings module as this breaks testsBruno Oliveira
2018-09-04Change std_warn to receive a single warning instance, addressed review sugges...Bruno Oliveira
2018-09-04Add comment about deprecation warnings being shown by defaultBruno Oliveira
2018-09-04Implement hack to issue warnings during configBruno Oliveira
2018-09-04Show deprecation warnings by default if no other filters are configuredBruno Oliveira
2018-09-04Fix existing tests now that we are using standard warningsBruno Oliveira
2018-09-04Capture and display warnings during collectionBruno Oliveira
2018-09-04Make terminal capture pytest_warning_captureBruno Oliveira