pytest2/src/_pytest
Daniel Hahler f95c7f5803
doctest: handle any OutcomeException (#6669)
Fixes using `pytest.xfail()` and `pytest.importorskip()` in doctests.

Ref: https://github.com/pytest-dev/pytest/issues/310
2020-02-19 13:16:37 +01:00
..
_code reports: use attr.asdict with serialize_repr_{crash,traceback} (#6732) 2020-02-14 19:39:34 +01:00
_io _pformat_dispatch: pass through args (#6715) 2020-02-12 16:07:57 +01:00
assertion assertrepr_compare: provide more info (location) with exceptions (#6728) 2020-02-14 02:17:05 +01:00
config Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
mark Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
__init__.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
_argcomplete.py Add type annotations to _pytest.config.argparsing and corresponding Config code 2019-11-20 22:02:27 +02:00
cacheprovider.py cacheprovider: use warnings directly 2020-02-15 01:36:57 +01:00
capture.py doc: add docstring for CaptureManager._capturing_for_request (#6698) 2020-02-13 12:09:32 +01:00
compat.py Type annotate Metafunc 2020-02-15 17:13:18 +02:00
debugging.py Merge master into features 2019-11-06 14:22:07 +01:00
deprecated.py Merge master into features (#6346) 2019-12-16 21:57:26 -03:00
doctest.py doctest: handle any OutcomeException (#6669) 2020-02-19 13:16:37 +01:00
faulthandler.py Fix crash when faulthandler starts initialized (#6598) 2020-02-12 11:06:20 +01:00
fixtures.py Don't delete FixtureDef.cached_result, set it to None instead 2020-02-14 14:18:58 +02:00
freeze_support.py pre-commit run reorder-python-imports --all-files 2019-06-03 12:08:01 -03:00
helpconfig.py Recognize `-V` as a short option for `--version` (#6721) 2020-02-13 12:30:22 +01:00
hookspec.py Don't delete FixtureDef.cached_result, set it to None instead 2020-02-14 14:18:58 +02:00
junitxml.py Remove incorrect choices comment (#6677) 2020-02-05 20:45:21 +01:00
logging.py Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
main.py Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
monkeypatch.py typing: MonkeyPatch.context 2020-01-28 21:44:30 +01:00
nodes.py Add Item.runtest stub implementation 2020-02-15 16:58:55 +02:00
nose.py Remove support code for unittest 2 2019-07-11 20:11:06 -03:00
outcomes.py Use `TYPE_CHECKING` instead of `False` 2020-01-16 16:11:39 +01:00
pastebin.py Fix "lexer" being used when uploading to bpaste.net 2019-08-30 15:34:03 -04:00
pathlib.py Fix order of format args with warning 2019-11-07 12:50:04 +01:00
pytester.py pytester: add __tracebackhide__ for matching randomly (#6746) 2020-02-16 10:29:59 +01:00
python.py Merge pull request #6735 from bluetech/metafunc-annotate 2020-02-15 23:32:14 +02:00
python_api.py typing: ignore false positive with more-itertools 2020-01-28 01:23:44 +01:00
recwarn.py Fix type of pytest.warns, and fix check_untyped_defs in test_recwarn 2020-01-19 19:39:14 +02:00
reports.py reports: use attr.asdict with serialize_repr_{crash,traceback} (#6732) 2020-02-14 19:39:34 +01:00
resultlog.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
runner.py Avoid getattr when dispatching pytest_runtest_* hooks 2020-02-15 15:34:21 +02:00
setuponly.py Don't delete FixtureDef.cached_result, set it to None instead 2020-02-14 14:18:58 +02:00
setupplan.py resolve #2049 2019-11-17 16:45:42 -06:00
skipping.py Merge master into features 2019-11-06 14:22:07 +01:00
stepwise.py Fix comment in stepwise (follow up to #5555) [skip ci] 2019-07-05 09:57:10 -03:00
terminal.py Merge branch 'master' into term-color 2020-02-15 18:46:29 +01:00
tmpdir.py Improve docstrings for mktemp 2020-01-09 18:20:46 -03:00
unittest.py Merge branch 'features' into unittest-debug 2019-12-03 10:52:53 -03:00
warning_types.py Use `TYPE_CHECKING` instead of `False` 2020-01-16 16:11:39 +01:00
warnings.py cacheprovider: use warnings directly 2020-02-15 01:36:57 +01:00