pytest/testing
Florian Bruhin 836cfbac1f
selftests: Set a timeout for lsof (#13621)
In case of hanging filesystems (e.g. unreachable sshfs), `lsof` can
hang for a long time (3 minutes in my case). Set a more reasonable
timeout and skip the affected test (like already done with other problems
regarding lsof) in such a case.
2025-07-28 10:16:41 -03:00
..
_py Add `Instant` class to conveniently track elapsed and start/end times (#13397) 2025-04-29 08:00:08 -03:00
code Fix `ExceptionGroup` traceback filtering of pytest internals (#13380) 2025-04-19 14:34:09 -07:00
example_scripts [Fix UP031] Manually, keeping some required %r specifiers 2024-11-30 14:57:44 +01:00
examples RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
freeze RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
io [mypy] Proper typing of mixed type string wrapper 2025-01-11 08:12:44 +01:00
logging Upgrade doc and CI after dropping python 3.8 2024-11-25 20:11:18 +01:00
plugins_integration build(deps): Bump pytest-asyncio in /testing/plugins_integration (#13610) 2025-07-21 13:56:37 -03:00
python use callable protocols for pytest.skip/exit/fail/xfail instead of _WithException wrapper with __call__ attribute (#13445) 2025-06-27 09:20:41 +03:00
acceptance_test.py Reintroduce PytestReturnNotNoneWarning (#13495) 2025-06-16 18:32:15 -03:00
conftest.py assorted code updates and f string migrations (#12017) 2025-03-11 09:14:36 +01:00
deprecated_test.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_argcomplete.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_assertion.py add --disable-plugin-autoload (#13253) 2025-03-01 14:27:25 -08:00
test_assertrewrite.py [pre-commit.ci] pre-commit autoupdate (#13557) 2025-06-25 11:38:12 -03:00
test_cacheprovider.py Improve stepwise to not forget failed tests 2025-01-14 06:41:25 -03:00
test_capture.py selftests: Set a timeout for lsof (#13621) 2025-07-28 10:16:41 -03:00
test_collect_imported_tests.py Rename test helper 2024-12-01 09:31:11 -03:00
test_collection.py Support PEP420 (implicit namespace packages) as `--pyargs` target. (#13426) 2025-07-12 08:03:22 -03:00
test_compat.py fixtures: replace fixture representation with a class (#12473) 2024-12-07 08:51:26 -03:00
test_config.py pytester: avoid unraisableexception gc collects in inline runs to speed up test suite (#13525) 2025-06-16 18:31:21 -03:00
test_conftest.py [Fix UP031] Manually, keeping some required %r specifiers 2024-11-30 14:57:44 +01:00
test_debugging.py officially support python 3.14 (#13440) 2025-05-31 10:46:15 +01:00
test_doctest.py Self-test: fix test_doctest_unexpected_exception in Python 3.14 (#13548) 2025-06-22 15:24:28 +00:00
test_entry_points.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_error_diffs.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_faulthandler.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_findpaths.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_helpconfig.py Fix test suite when PYTEST_PLUGINS is set 2025-04-07 18:33:28 +00:00
test_junitxml.py [pre-commit.ci] pre-commit autoupdate (#13475) 2025-06-03 21:59:34 +03:00
test_legacypath.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_link_resolve.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_main.py Support PEP420 (implicit namespace packages) as `--pyargs` target. (#13426) 2025-07-12 08:03:22 -03:00
test_mark.py Allow hiding a parameter set from test name (#13229) 2025-03-01 10:06:40 -03:00
test_mark_expression.py Enable pylint's python 3.8 typing checks (deprecated-typing-alias) 2024-11-25 20:11:19 +01:00
test_meta.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_monkeypatch.py testing: skip `pkg_resources` tests if modern setuptools 2025-05-27 21:42:20 +03:00
test_nodes.py Fix: #13420 - Add cache for nodes._check_initialpaths_for_relpath (#13422) 2025-05-15 21:30:28 +02:00
test_parseopt.py officially support python 3.14 (#13440) 2025-05-31 10:46:15 +01:00
test_pastebin.py officially support python 3.14 (#13440) 2025-05-31 10:46:15 +01:00
test_pathlib.py Fix crash when directory is removed during collection (#13086) 2025-01-08 20:57:22 +00:00
test_pluginmanager.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_pytester.py pytester: error on non-str `pytester.plugins` in subprocess mode instead of silently ignoring 2025-06-18 14:24:44 +03:00
test_python_path.py Apply pythonpath option as early as possible (#12536) 2024-08-06 07:47:27 -03:00
test_recwarn.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_reports.py Upgrade doc and CI after dropping python 3.8 2024-11-25 20:11:18 +01:00
test_runner.py [pre-commit.ci] pre-commit autoupdate 2024-11-11 15:09:44 +01:00
test_runner_xunit.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_scope.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_session.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_setuponly.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_setupplan.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_skipping.py Make wasxfail consistent (#13328) 2025-04-02 11:15:58 +00:00
test_stash.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_stepwise.py Show cache age instead of update date 2025-01-15 14:48:06 -03:00
test_terminal.py Fix crash with `times` output style and skipped module (#13573) 2025-07-01 18:15:06 -03:00
test_threadexception.py testing: Explicitly pass `-Werror` to tests needing it 2025-06-18 10:09:01 +03:00
test_tmpdir.py Enable pylint's python 3.8 typing checks (deprecated-typing-alias) 2024-11-25 20:11:19 +01:00
test_unittest.py Remove PytestReturnNotNoneWarning and PytestUnhandledCoroutineWarning. Make tests fail instead of raising warning/exception. fix tests. add changelog. 2024-10-25 13:36:55 +02:00
test_unraisableexception.py pytester: avoid unraisableexception gc collects in inline runs to speed up test suite (#13525) 2025-06-16 18:31:21 -03:00
test_warning_types.py raisesgroup followups (#13279) 2025-03-29 13:08:12 +00:00
test_warnings.py testing: Explicitly pass `-Werror` to tests needing it 2025-06-18 10:09:01 +03:00
typing_checks.py Clean up type hints and add a test (#13348) 2025-04-03 20:09:37 +00:00
typing_raises_group.py raisesgroup followups (#13279) 2025-03-29 13:08:12 +00:00