summaryrefslogtreecommitdiff
path: root/src/_pytest/unittest.py
AgeCommit message (Expand)Author
2021-01-14Improve way in which skip location is fixed up when skipped by markRan Benita
2021-01-14unittest: add clarifying comment on unittest.SkipTest -> pytest.skip codeRan Benita
2021-01-13unittest: cleanup unexpected success handling (#8231)Anton
2020-11-19Call Python 3.8 doClassCleanups (#8033)Petter Strandmark
2020-11-01unittest: fix quadratic behavior in collection of unittests using setUpClass/...Ran Benita
2020-10-05py36+: com2annAnthony Sottile
2020-10-02py36+: from typing import Type: no longer need guardAnthony Sottile
2020-10-02py36+: remove TYPE_CHECKING from _pytest.compatAnthony Sottile
2020-08-01typing: set disallow_any_genericsRan Benita
2020-08-01Format docstrings in a consistent styleRan Benita
2020-07-10Remove no longer needed `noqa: F821` usesRan Benita
2020-07-10Stop using ExceptionInfo.errisinstance internallyRan Benita
2020-06-25hookspec: improve typing of some remaining hooksRan Benita
2020-06-05Type annotate _pytest.unittestRan Benita
2020-06-05Type annotate some parts related to runner & reportsRan Benita
2020-06-05Type annotate some more hooks & implsRan Benita
2020-06-05Type annotate main.py and some parts related to collectionRan Benita
2020-05-30Do not call TestCase.tearDown for skipped tests (#7236)Bruno Oliveira
2020-05-12Replace bare `except`s with `except BaseException`Ran Benita
2020-05-02Fix cleanup functions not being invoked on test failuresBruno Oliveira
2020-05-01Let unittest frameworks deal with async functionsBruno Oliveira
2020-02-28Add a typing-compatible mechanism for ad-hoc attributes on various objectsRan Benita
2019-12-03Merge branch 'features' into unittest-debugBruno Oliveira
2019-11-23deprecate direct node construction and introduce Node.from_parentRonny Pfannschmidt
2019-11-12Bring back explicit tear downBruno Oliveira
2019-11-12No need to call tearDown on expected failuresBruno Oliveira
2019-11-10unittest: do not use TestCase.debug() with `--pdb`Daniel Hahler
2019-08-02Merge master into featuresDaniel Hahler
2019-07-20unittest: handle outcomes.ExitDaniel Hahler
2019-07-11Remove support code for unittest 2Bruno Oliveira
2019-06-04item.obj is again a bound method on TestCase function itemsBruno Oliveira
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-01-31Fix setUpClass being called in subclasses that were skippedBruno Oliveira
2019-01-10xunit-style functions and methods are invoked by autouse fixturesBruno Oliveira
2018-12-21remove most of markertransferRonny Pfannschmidt
2018-11-22fix #4386 - restructure construction and partial state of ExceptionInfoRonny Pfannschmidt
2018-10-25Apply reorder-python-imports to all filesAnthony Sottile
2018-09-13remove the legacy code about im_func and generalize using fix and compat.geti...Ronny Pfannschmidt
2018-08-08Fix AttributeError bug in TestCaseFunction.teardown by creating TestCaseFunct...Wes Thomas
2018-06-26Upgrade pre-commit hooks except pyupgradeAnthony Sottile
2018-05-26switch to src layoutRonny Pfannschmidt