test_ok1/testing
Bruno Oliveira 7eb0792cba Add pytest.version_tuple
This adds `pytest.version_tuple`, which makes it simpler for users to do something depending on the pytest version, such as declaring hooks which are introduced in later versions.

This feature was added originally in https://github.com/pypa/setuptools_scm/pull/475.

Followup to https://github.com/pytest-dev/pytest/pull/7605.
2021-06-14 09:04:14 -03:00
..
code Merge pull request #8227 from encukou/defensive-get_source 2021-04-24 19:42:53 -07:00
example_scripts Remove/replace some more unnecessary uses of py.path 2021-03-15 10:39:44 +02: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 cleanup tests by removal of unused code elements 2021-05-07 17:56:35 +05:30
plugins_integration Bump pytest-django from 4.3.0 to 4.4.0 in /testing/plugins_integration 2021-06-11 00:18:17 +00:00
python add feature to view fixture source location in invocations with --fixtures-per-test option (#8626) 2021-05-14 14:38:55 +02:00
acceptance_test.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
conftest.py Remove/replace some more unnecessary uses of py.path 2021-03-15 10:39:44 +02:00
deprecated_test.py Ignore depredcated warns(None) overload errors from mypy 2021-05-17 09:50:59 +01: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 Increase truncation threshold with -v, disable with -vv 2021-03-26 07:05:30 -03:00
test_cacheprovider.py cacheprovider: add cache.mkdir() as a Path-returning replacement to makedir() 2021-03-15 10:39:31 +02:00
test_capture.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_collection.py Fix test_collect_symlink_dir on Windows 2021-05-04 17:25:08 +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 argparsing: support parser.addini(type="paths") which returns pathlib.Paths 2021-05-07 09:58: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 [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 pytest.version_tuple 2021-06-14 09:04:14 -03:00
test_junitxml.py [pre-commit.ci] pre-commit autoupdate (#8699) 2021-05-26 11:19:45 +03: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 Improve `iterparentnodeids` to consume `/` parts until the first `::` (#8577) 2021-04-29 17:02:43 +03:00
test_nose.py Merge pull request #8399 from atzannes/master 2021-03-04 22:45:57 +02:00
test_parseopt.py argparsing: export Parser and OptionGroup for typing purposes 2021-05-24 00:52:03 +03:00
test_pastebin.py Migrate test_pastebin.py from testdir to pytester 2020-12-01 12:55:59 -06:00
test_pathlib.py "fix" a couple of http -> https redirects 2021-04-26 17:44:27 +02:00
test_pluginmanager.py Fix error with --import-mode=importlib and modules containing dataclasses or pickle (#7870) 2021-04-05 17:10:03 -03:00
test_pytester.py Adjust enum reprs for Python 3.10 2021-05-04 17:24:50 +02:00
test_recwarn.py Remove outdated docs about pytest.warns and DeprecatedWarning 2021-06-12 12:09:26 -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_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 test_errors_in_xfail_skip_expressions on Python 3.10 2021-05-04 17:26:53 +02: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 Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
test_threadexception.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
test_tmpdir.py Ignore depredcated warns(None) overload errors from mypy 2021-05-17 09:50:59 +01: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