test_ok2/testing
Ran Benita 128f29ee35 Categorize deprecation warnings to `PytestRemovedInXWarning`
Closes #7480.

This allows us to more easily follow our deprecation policy of turning
warnings into errors for the X.0 releases before complete removal in
X.1.

It also makes the deprecation timeline clear to both the users and
pytest developers -- it can be hard to keep track.

Note that the designation is not meant to be a binding contract - if the
time comes for removal of a specific deprecation but we decide it's too
soon, can just bump it to the next major.

Inspired by Django:
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#deprecating-a-feature
2021-11-14 23:57:10 +02:00
..
code Use attr.s(auto_attribs=True) in more places 2021-10-04 19:24:12 +03:00
example_scripts #7124: Fix `--doctest-modules` crashing when `__main__.py` is present (#8949) 2021-07-27 22:50:26 +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 Increase truncation threshold with -v, disable with -vv 2021-03-26 07:05:30 -03:00
logging Use {node,config}.stash instead of ._store 2021-07-24 17:40:08 +03:00
plugins_integration build(deps): Bump django in /testing/plugins_integration 2021-11-08 03:01:45 +00:00
python python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
acceptance_test.py Remove py version printing, traceback filtering, freezing 2021-10-16 12:01:31 +03:00
conftest.py Remove/replace some more unnecessary uses of py.path 2021-03-15 10:39:44 +02:00
deprecated_test.py Categorize deprecation warnings to `PytestRemovedInXWarning` 2021-11-14 23:57:10 +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 always show full diff in ci 2021-08-19 20:17:43 +01:00
test_assertrewrite.py Merge pull request #9183 from bluetech/rm-redundent-osfspath 2021-10-09 19:14:55 +03:00
test_cacheprovider.py python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
test_capture.py testing: remove a few redundant py references 2021-10-16 11:58:35 +03:00
test_collection.py python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
test_compat.py Migrate test_compat.py from testdir to pytester (#7963) 2020-10-29 09:56:34 +02:00
test_config.py Move pathlist support to legacypath plugin 2021-10-28 21:51:51 +03:00
test_conftest.py Fix error with --import-mode=importlib and modules containing dataclasses or pickle (#7870) 2021-04-05 17:10:03 -03:00
test_debugging.py Use public API for adding config cleanup 2021-10-22 11:03:27 +03:00
test_doctest.py DoctTest line numbers not found due to method wrapping (#8861) 2021-11-01 09:01:25 +02: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 Add a test for invalid TOML file 2021-07-06 16:53:32 +03:00
test_helpconfig.py Remove py version printing, traceback filtering, freezing 2021-10-16 12:01:31 +03:00
test_junitxml.py python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
test_legacypath.py Move Node.fspath to legacypath plugin 2021-10-28 21:51:51 +03:00
test_link_resolve.py tests: Migrate to pytester - final update 2020-12-18 11:02:38 -08:00
test_main.py Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950) 2021-11-08 15:31:14 +01:00
test_mark.py Support forwardslash characters in identifiers (#9249) 2021-11-01 08:54:18 +02:00
test_mark_expression.py Support forwardslash characters in identifiers (#9249) 2021-11-01 08:54:18 +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 nodes: keep plugins which subclass Item, File working for a bit more (#9279) 2021-11-08 14:51:04 +00:00
test_nose.py python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
test_parseopt.py argparsing: export Parser and OptionGroup for typing purposes 2021-05-24 00:52:03 +03:00
test_pastebin.py Update pastebin URL from bpaste to bpa.st (#9131) 2021-10-06 08:12:48 -03:00
test_pathlib.py testing: remove a few redundant py references 2021-10-16 11:58:35 +03:00
test_pluginmanager.py Adjust doc links for new scheme 2021-07-06 09:11:35 +02:00
test_pytester.py Move testdir to legacypath plugin 2021-10-28 21:51:51 +03:00
test_pythonpath.py Add a `pythonpath` setting to allow paths to be added to `sys.path`. (#9134) 2021-10-05 09:36:38 +03:00
test_recwarn.py recwarn: fix was -> were in DID NOT WARN message 2021-10-27 08:36:10 +03:00
test_reports.py reports: support any PathLike instead of only Path, py.path 2021-03-18 10:23:48 +02: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_scope.py Refactor internal scope handling by introducing Scope enum 2021-08-01 06:11:56 -03:00
test_session.py python: remove the `Instance` collector node 2021-11-13 14:03:44 +02:00
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 Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950) 2021-11-08 15:31:14 +01:00
test_stash.py stash: implement __len__ 2021-07-18 15:32:52 +03:00
test_stepwise.py #9062 - Allow `--stepwise-skip` to implicitly enable `--stepwise` (#9064) 2021-08-30 19:24:14 +01:00
test_terminal.py Remove py version printing, traceback filtering, freezing 2021-10-16 12:01:31 +03:00
test_threadexception.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
test_tmpdir.py Move tmpdir to legacypath plugin 2021-10-28 21:51:51 +03:00
test_unittest.py Ignore DeprecationWarnings in test_trial_error 2021-05-12 13:38:19 +02:00
test_unraisableexception.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
test_warning_types.py add type hint to parametrized warning_class 2020-10-25 18:31:43 +00:00
test_warnings.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
typing_checks.py Fix typing of params ids callable form 2020-07-14 14:53:42 +03:00