test_ok2/testing
Ran Benita f2d65c85f4 code: export ExceptionInfo for typing purposes
This type is most prominent in `pytest.raises` and we should allow to
refer to it by a public name.

The type is not in a perfectly "exposable" state. In particular:

- The `traceback` property with type `Traceback` which is derived from
  the `py.code` API and exposes a bunch more types transitively. This
  stuff is *not* exported and probably won't be.

- The `getrepr` method which probably should be private.

But they're already used in the wild so no point in just hiding them
now.

The __init__ API is hidden -- the public API for this are the `from_*`
classmethods.
2021-03-13 15:59:44 +02:00
..
code Remove some unused 'tmpdir's 2021-02-20 18:01:42 +00:00
example_scripts fix bug in test for issue 519 2021-03-07 15:01:39 +01:00
examples fix bug in test for issue 519 2021-03-07 15:01:39 +01:00
freeze testing: fix some docstring issues 2020-08-03 10:10:43 +03:00
io [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
logging tests: Migrate to pytester - incremental update (#8145) 2020-12-15 13:02:32 +02:00
plugins_integration implement Node.path as pathlib.Path 2021-03-06 21:32:03 +01:00
python implement Node.path as pathlib.Path 2021-03-06 21:32:03 +01:00
acceptance_test.py Merge pull request #8055 from bluetech/unraisable 2020-12-05 21:52:17 +02:00
conftest.py testing: make conftest stuff check for pytester not testdir 2020-10-26 15:01:38 +02:00
deprecated_test.py Deprecate raising unittest.SkipTest to skip tests during collection 2021-01-15 00:05:33 +02:00
test_argcomplete.py pytest-dev#8204 migrate some tests to tmp_path fixture (#8209) 2021-01-01 17:25:11 +02:00
test_assertion.py Add support to display field names in namedtuple diffs. 2020-10-31 14:41:53 +02:00
test_assertrewrite.py clean up mkdtemp usage 2021-03-08 19:12:08 -08:00
test_cacheprovider.py testing: convert some tmpdir to tmp_path 2020-12-22 21:08:25 +02:00
test_capture.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_collection.py drop usage of py.path.local calls 2021-03-06 21:32:03 +01:00
test_compat.py Migrate test_compat.py from testdir to pytester (#7963) 2020-10-29 09:56:34 +02:00
test_config.py adopt main terminology in the configs 2021-03-09 22:35:34 +01:00
test_conftest.py fixup! Rename variables 'tmpdir'->'tmp_path' 2021-02-21 13:10:07 +00:00
test_debugging.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_doctest.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2021-03-08 16:55:59 +00:00
test_entry_points.py Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
test_error_diffs.py Migrate test_error_diffs.py from testdir to pytester (#7971) 2020-10-30 22:12:40 +02:00
test_faulthandler.py Only re-enable fauthandler during unconfigure if it was enabled before 2021-01-25 12:28:00 -03:00
test_findpaths.py py36+: remove rexport of Path and PurePath 2020-10-03 12:16:52 -07:00
test_helpconfig.py Add missing space in '--version' help message 2020-12-28 10:50:06 -05:00
test_junitxml.py address comments 2020-12-18 12:36:20 -08:00
test_link_resolve.py tests: Migrate to pytester - final update 2020-12-18 11:02:38 -08:00
test_main.py drop usage of py.path.local calls 2021-03-06 21:32:03 +01:00
test_mark.py implement Node.path as pathlib.Path 2021-03-06 21:32:03 +01:00
test_mark_expression.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_meta.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_monkeypatch.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_nodes.py drop usage of py.path.local calls 2021-03-06 21:32:03 +01:00
test_nose.py Merge pull request #8399 from atzannes/master 2021-03-04 22:45:57 +02:00
test_parseopt.py drop usage of py.path.local calls 2021-03-06 21:32:03 +01:00
test_pastebin.py Migrate test_pastebin.py from testdir to pytester 2020-12-01 12:55:59 -06:00
test_pathlib.py drop usage of py.path.local calls 2021-03-06 21:32:03 +01:00
test_pluginmanager.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_pytester.py Add dot prefix if file makefile extension is invalid for pathlib (#8222) 2021-01-04 15:58:11 +02:00
test_recwarn.py Merge pull request #8017 from bluetech/typing-public-fixtures 2020-12-05 21:51:20 +02:00
test_reports.py drop usage of py.path.local calls 2021-03-06 21:32:03 +01:00
test_runner.py implement Node.path as pathlib.Path 2021-03-06 21:32:03 +01:00
test_runner_xunit.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_session.py #7942 test_session.py migrate from testdir to pytester 2020-11-04 21:55:07 +05:30
test_setuponly.py Migrate test_setuponly.py from testdir to pytester (#7959) 2020-10-29 09:55:30 +02:00
test_setupplan.py #7942 test_setupplan.py migrate from testdir to Pytester (#8004) 2020-11-07 09:29:45 -03:00
test_skipping.py Fix skip signature (#8392) 2021-03-04 11:56:21 +01:00
test_stepwise.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_store.py Remove no longer needed `noqa: F821` uses 2020-07-10 13:08:56 +03:00
test_terminal.py implement Node.path as pathlib.Path 2021-03-06 21:32:03 +01:00
test_threadexception.py Add unraisableexception and threadexception plugins 2020-11-21 21:11:48 +02:00
test_tmpdir.py Fixed an issue where `getpass.getuser()` contained illegal characters for file directories (#8365) 2021-02-25 08:28:57 +00:00
test_unittest.py code: export ExceptionInfo for typing purposes 2021-03-13 15:59:44 +02:00
test_unraisableexception.py Add unraisableexception and threadexception plugins 2020-11-21 21:11:48 +02:00
test_warning_types.py add type hint to parametrized warning_class 2020-10-25 18:31:43 +00:00
test_warnings.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
typing_checks.py Fix typing of params ids callable form 2020-07-14 14:53:42 +03:00