pytest-check 3.0.2__tar.gz → 3.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_check-3.0.2 → pytest_check-3.0.3}/PKG-INFO +1 -1
- {pytest_check-3.0.2 → pytest_check-3.0.3}/changelog.md +10 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/pyproject.toml +1 -1
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/plugin.py +4 -0
- pytest_check-3.0.3/tests/test_isolated_asyncio.py +15 -0
- pytest_check-3.0.2/tests/test_isolated_asyncio.py +0 -6
- {pytest_check-3.0.2 → pytest_check-3.0.3}/.coveragerc +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/.github/.deployment.md +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/.github/FUNDING.yml +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/.github/workflows/main.yml +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/.github/workflows/publish-to-pypi.yml +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/.gitignore +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/LICENSE.txt +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/README.md +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/logging_to_a_file/conftest.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/logging_to_a_file/test_file_logging.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_alt_names.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_any_failures.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_check_and_assert.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_check_check.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_check_func_decorator.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_check_func_xfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_check_not_in_test.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_context_functions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_context_manager_fail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_context_manager_pass.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_context_manager_type.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_fail_func.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_fail_in_fixture.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_fail_in_teardown_with_skip.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_fail_in_thread.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_functions_fail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_functions_pass.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_functions_xfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_helpers.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_httpx.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_isolated_asyncio.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_locals.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_logging.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_loop.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_maxfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_message.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_mix_checks_and_assertions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_multi.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_multi_check_raises.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_multiple_failures.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_mypy.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_mypy_fail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_non_assert_exceptions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_parallel_threads.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_pass_in_thread.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_raises.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_simple.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_speedup_funcs.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_stop_on_fail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_summary.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_tb_style.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_traceback.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_tracebackhide.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_xfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/__init__.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/__init__.pyi +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/check_functions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/check_log.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/check_raises.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/context_manager.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/pseudo_traceback.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/src/pytest_check/py.typed +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/__init__.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/conftest.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/markers.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_alt_names.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_any_failures.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_check_and_assert.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_check_check.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_check_context_manager.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_check_fixture.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_check_func_decorator.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_fail_func.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_fail_in_fixture.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_fail_in_teardown_with_skip.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_func_xfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_functions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_helpers.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_locals.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_logging.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_maxfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_message.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_non_assert_exceptions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_not_in_test.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_parallel_threads.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_pseudo_tb_corner_cases.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_raises.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_red.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_reportlog.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_speedup_flags.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_speedup_functions.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_stop_on_fail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_summary.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_tb_line.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_tb_style.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_thread.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_thread_runner_compat.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_tracebackhide.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tests/test_xfail.py +0 -0
- {pytest_check-3.0.2 → pytest_check-3.0.3}/tox.ini +0 -0
|
@@ -47,6 +47,16 @@ TEMPLATE_END
|
|
|
47
47
|
|
|
48
48
|
-->
|
|
49
49
|
|
|
50
|
+
## [3.0.3] - 14-Oct-2026
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
|
|
54
|
+
- Second attempt to fix issue #210.
|
|
55
|
+
- First attempt "seemed" fixed in the context of the in-process pytest runner, but failed as a subprocess.
|
|
56
|
+
- I've added a subprocess run, and a fix.
|
|
57
|
+
- Pretty sure it's fixed now.
|
|
58
|
+
|
|
59
|
+
|
|
50
60
|
## [3.0.2] - 13-Oct-2026
|
|
51
61
|
|
|
52
62
|
### Fixed
|
|
@@ -4,7 +4,7 @@ authors = [{ name = "Brian Okken" }]
|
|
|
4
4
|
readme = "README.md"
|
|
5
5
|
license = { file = "LICENSE.txt" }
|
|
6
6
|
description = "A pytest plugin that allows multiple failures per test."
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.3"
|
|
8
8
|
requires-python = ">=3.9"
|
|
9
9
|
classifiers = [
|
|
10
10
|
'Development Status :: 5 - Production/Stable',
|
|
@@ -167,6 +167,10 @@ def _match_exception(exc_name: str, failures: list[str]) -> bool:
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
def pytest_configure(config: Config) -> None:
|
|
170
|
+
# IsolatedAsyncioTestCase snapshots the current context when its test case
|
|
171
|
+
# is created during collection. Seed the state before that snapshot.
|
|
172
|
+
check_log.clear_failures()
|
|
173
|
+
|
|
170
174
|
# Add some red to the failure output, if stdout can accommodate it.
|
|
171
175
|
isatty = sys.stdout.isatty()
|
|
172
176
|
color = getattr(config.option, "color", None)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Callable
|
|
2
|
+
|
|
3
|
+
if TYPE_CHECKING:
|
|
4
|
+
from _pytest.pytester import Pytester
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def test_isolated_asyncio(run_example_test: Callable) -> None:
|
|
8
|
+
result = run_example_test("test_example_isolated_asyncio.py")
|
|
9
|
+
result.assert_outcomes(failed=1)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def test_isolated_asyncio_in_subprocess(pytester: "Pytester") -> None:
|
|
13
|
+
pytester.copy_example("examples/test_example_isolated_asyncio.py")
|
|
14
|
+
result = pytester.runpytest_subprocess()
|
|
15
|
+
result.assert_outcomes(failed=1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_fail_in_teardown_with_skip.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_check-3.0.2 → pytest_check-3.0.3}/examples/test_example_mix_checks_and_assertions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|