summaryrefslogtreecommitdiff
path: root/testing/test_recwarn.py
AgeCommit message (Expand)Author
2020-12-05Merge pull request #8017 from bluetech/typing-public-fixturesRan Benita
2020-11-16testing: convert test_{conftest,recwarn,tmpdir} to pytesterGarvit Shubham
2020-11-13Export types of builtin fixture for type annotationsRan Benita
2020-06-25recwarn: improve return type annotation of non-contextmanager pytest.warnsRan Benita
2020-02-18Use a hack to make typing of pytest.fail.Exception & co workRan Benita
2020-01-19Fix type of pytest.warns, and fix check_untyped_defs in test_recwarnRan Benita
2019-07-14Revert "Let context-managers for raises and warns handle unknown keyword argu...Ran Benita
2019-06-30Remove support for 'code as string' from pytest.raises and pytest.warnsBruno 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-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2019-05-09Remove the 'issue' marker from test suiteBruno Oliveira
2018-11-29Deprecate `raises(..., 'code(as_a_string)')` / `warns(..., 'code(as_a_string)')Anthony Sottile
2018-10-26fix #4243 - support positional argument stacklevel on python2Ronny Pfannschmidt
2018-10-25Apply reorder-python-imports to all filesAnthony Sottile
2018-10-18[WIP] Update warning stacklevel when wrapping warnings.warnAnkit Goel
2018-10-10In python2, display previously warned warningsAnthony Sottile
2018-10-10Implement pytest.deprecated_call with pytest.warnsAnthony Sottile
2018-09-04Improve test_rewarn_functionalBruno Oliveira
2018-06-26Upgrade pre-commit hooks except pyupgradeAnthony Sottile
2018-05-23run blackRonny Pfannschmidt
2018-03-27Change pytest.raises to use match instead of matchesJeffrey Rackauckas
2018-01-30Fix test for py37Bruno Oliveira
2018-01-09Replace py.std with stdlib importsAnthony Sottile
2017-11-10Merge remote-tracking branch 'upstream/master' into merge-master-into-featuresBruno Oliveira
2017-11-04Fix linting E741: ambiguous variable nameBruno Oliveira
2017-09-07Add match_regex functionality to warnsJoan Massich
2017-09-04Add test to design warns signature in TDD mimicking raises signatureJoan Massich
2017-07-22Turn warnings into errors in pytest's own test suiteBruno Oliveira
2017-07-17Fixed E701 flake8 errorsAndras Tim
2017-07-17Fixed E303 flake8 errorsAndras Tim
2017-06-06deprecated_call context manager captures warnings already raisedBruno Oliveira
2017-05-30Merge pull request #2445 from nicoddemus/warnings-remove-filterBruno Oliveira
2017-05-30No longer override existing warning filters during warnings captureBruno Oliveira
2017-05-30pytest.deprecated_call now captures PendingDeprecationWarning in context mana...Bruno Oliveira
2017-03-20Merge remote-tracking branch 'upstream/features' into integrate-pytest-warningsBruno Oliveira
2017-03-16Add __future__ imports to all pytest modulesBruno Oliveira
2017-03-16Capture warnings around the entire runtestprotocolBruno Oliveira
2017-03-13Fix test_recwarn in Python 3.6Bruno Oliveira
2017-03-13Refactor recwarn to use warnings.catch_warnings instead of custom codeBruno Oliveira
2017-02-02allow error message matching in pytest.raisesThomas Kriechbaumer
2017-01-03Newline for flake8Loïc Estève
2017-01-03Add a test when multiple classes are specified in warnsLoïc Estève
2017-01-03pytest.warns checks for subclass relationshipLoïc Estève
2016-12-27Merge branch 'master' into merge-master-into-featuresBruno Oliveira
2016-12-20Improve error message when pytest.warns failLoïc Estève
2016-10-24turn RecordedWarning into a namedtupleRonny Pfannschmidt
2015-12-10Merge remote-tracking branch 'upstream/master' into merge-master-into-featuresBruno Oliveira
2015-12-08Fix deprecated_call regression introduced in 2.8.4Bruno Oliveira