Skip to content

tests/test_pytest_cov.py::test_contexts failures with Python 3.14.0rc2 #719

@mgorny

Description

@mgorny

Summary

The 7.0.0 reenabled the following tests which seem to be failing with Python 3.14. While I realize that it's not tested yet, the previous versions had a 100% clean pass, and I think it would be nice to have it fixed prior to the 3.14.0 final release.

FAILED tests/test_pytest_cov.py::test_contexts[nodist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
FAILED tests/test_pytest_cov.py::test_contexts[1xdist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
FAILED tests/test_pytest_cov.py::test_contexts[2xdist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
FAILED tests/test_pytest_cov.py::test_contexts[3xdist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}

Reproducer

Versions

Package       Version Editable project location
------------- ------- -------------------------
coverage      7.10.6
distlib       0.4.0
execnet       2.1.1
fields        5.0.0
filelock      3.19.1
iniconfig     2.1.0
packaging     25.0
platformdirs  4.4.0
pluggy        1.6.0
process-tests 3.0.0
pygments      2.19.2
pytest        8.4.2
pytest-cov    7.0.0   /tmp/pytest-cov
pytest-xdist  3.8.0
virtualenv    20.34.0

Code

uv venv -p 3.14
uv pip install -e . process-tests pytest-xdist
.venv/bin/pytest -vv tests/test_pytest_cov.py::test_contexts
Full output
========================================================= test session starts =========================================================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0
rootdir: /tmp/pytest-cov
configfile: pytest.ini
plugins: cov-7.0.0, xdist-3.8.0
collected 4 items                                                                                                                     

tests/test_pytest_cov.py FFFF                                                                                                   [100%]

============================================================== FAILURES ===============================================================
________________________________________________________ test_contexts[nodist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_13[3-2]|run'
E     'test_contexts.py::test_09[2]|setup'
E     'test_contexts.py::test_12[two]|run'
E     'test_contexts.py::test_13[4-1]|run'
E     'test_contexts.py::test_09[2]|run'...
E     
E     ...Full output truncated (6 lines hidden), use '-vv' to show
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-5/test_contexts0/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-5/test_contexts0 --cov-context=test /tmp/pytest-of-mgorny/pytest-5/test_contexts0/test_contexts.py --basetemp=/tmp/pytest-of-mgorny/pytest-5/basetemp
     in: /tmp/pytest-of-mgorny/pytest-5/test_contexts0
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-5/test_contexts0
plugins: cov-7.0.0, xdist-3.8.0
collecting ... collected 20 items

test_contexts.py::test_01 PASSED                                         [  5%]
test_contexts.py::test_02 PASSED                                         [ 10%]
test_contexts.py::OldStyleTests::test_03 PASSED                          [ 15%]
test_contexts.py::OldStyleTests::test_04 PASSED                          [ 20%]
test_contexts.py::test_05 PASSED                                         [ 25%]
test_contexts.py::test_06 PASSED                                         [ 30%]
test_contexts.py::test_07 PASSED                                         [ 35%]
test_contexts.py::test_08 PASSED                                         [ 40%]
test_contexts.py::test_09[1] PASSED                                      [ 45%]
test_contexts.py::test_09[2] PASSED                                      [ 50%]
test_contexts.py::test_09[3] PASSED                                      [ 55%]
test_contexts.py::test_10 PASSED                                         [ 60%]
test_contexts.py::test_11[1-101] PASSED                                  [ 65%]
test_contexts.py::test_11[2-202] PASSED                                  [ 70%]
test_contexts.py::test_12[one] PASSED                                    [ 75%]
test_contexts.py::test_12[two] PASSED                                    [ 80%]
test_contexts.py::test_13[3-1] PASSED                                    [ 85%]
test_contexts.py::test_13[3-2] PASSED                                    [ 90%]
test_contexts.py::test_13[4-1] PASSED                                    [ 95%]
test_contexts.py::test_13[4-2] PASSED                                    [100%]

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.06s ==============================
________________________________________________________ test_contexts[1xdist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_13[3-2]|run'
E     'test_contexts.py::test_09[2]|setup'
E     'test_contexts.py::test_12[two]|run'
E     'test_contexts.py::test_13[4-1]|run'
E     'test_contexts.py::test_09[2]|run'...
E     
E     ...Full output truncated (6 lines hidden), use '-vv' to show
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-5/test_contexts1/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-5/test_contexts1 --cov-context=test /tmp/pytest-of-mgorny/pytest-5/test_contexts1/test_contexts.py -n 1 --basetemp=/tmp/pytest-of-mgorny/pytest-5/basetemp
     in: /tmp/pytest-of-mgorny/pytest-5/test_contexts1
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-5/test_contexts1
plugins: cov-7.0.0, xdist-3.8.0
created: 1/1 worker
1 worker [20 items]

scheduling tests via LoadScheduling

test_contexts.py::test_01 
[gw0] [  5%] PASSED test_contexts.py::test_01 
test_contexts.py::test_02 
[gw0] [ 10%] PASSED test_contexts.py::test_02 
test_contexts.py::OldStyleTests::test_03 
[gw0] [ 15%] PASSED test_contexts.py::OldStyleTests::test_03 
test_contexts.py::OldStyleTests::test_04 
[gw0] [ 20%] PASSED test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_05 
[gw0] [ 25%] PASSED test_contexts.py::test_05 
test_contexts.py::test_06 
[gw0] [ 30%] PASSED test_contexts.py::test_06 
test_contexts.py::test_07 
[gw0] [ 35%] PASSED test_contexts.py::test_07 
test_contexts.py::test_08 
[gw0] [ 40%] PASSED test_contexts.py::test_08 
test_contexts.py::test_09[1] 
[gw0] [ 45%] PASSED test_contexts.py::test_09[1] 
test_contexts.py::test_09[2] 
[gw0] [ 50%] PASSED test_contexts.py::test_09[2] 
test_contexts.py::test_09[3] 
[gw0] [ 55%] PASSED test_contexts.py::test_09[3] 
test_contexts.py::test_10 
[gw0] [ 60%] PASSED test_contexts.py::test_10 
test_contexts.py::test_11[1-101] 
[gw0] [ 65%] PASSED test_contexts.py::test_11[1-101] 
test_contexts.py::test_11[2-202] 
[gw0] [ 70%] PASSED test_contexts.py::test_11[2-202] 
test_contexts.py::test_12[one] 
[gw0] [ 75%] PASSED test_contexts.py::test_12[one] 
test_contexts.py::test_12[two] 
[gw0] [ 80%] PASSED test_contexts.py::test_12[two] 
test_contexts.py::test_13[3-1] 
[gw0] [ 85%] PASSED test_contexts.py::test_13[3-1] 
test_contexts.py::test_13[3-2] 
[gw0] [ 90%] PASSED test_contexts.py::test_13[3-2] 
test_contexts.py::test_13[4-1] 
[gw0] [ 95%] PASSED test_contexts.py::test_13[4-1] 
test_contexts.py::test_13[4-2] 
[gw0] [100%] PASSED test_contexts.py::test_13[4-2] 

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.41s ==============================
________________________________________________________ test_contexts[2xdist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_13[3-2]|run'
E     'test_contexts.py::test_09[2]|setup'
E     'test_contexts.py::test_09[2]|run'
E     'test_contexts.py::test_09[3]|run'
E     'test_contexts.py::test_13[4-2]|run'...
E     
E     ...Full output truncated (2 lines hidden), use '-vv' to show
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-5/test_contexts2/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-5/test_contexts2 --cov-context=test /tmp/pytest-of-mgorny/pytest-5/test_contexts2/test_contexts.py -n 2 --basetemp=/tmp/pytest-of-mgorny/pytest-5/basetemp
     in: /tmp/pytest-of-mgorny/pytest-5/test_contexts2
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-5/test_contexts2
plugins: cov-7.0.0, xdist-3.8.0
created: 2/2 workers
2 workers [20 items]

scheduling tests via LoadScheduling

test_contexts.py::OldStyleTests::test_03 
test_contexts.py::test_01 
[gw0] [  5%] PASSED test_contexts.py::test_01 
[gw1] [ 10%] PASSED test_contexts.py::OldStyleTests::test_03 
test_contexts.py::test_02 
test_contexts.py::OldStyleTests::test_04 
[gw0] [ 15%] PASSED test_contexts.py::test_02 
[gw1] [ 20%] PASSED test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_05 
test_contexts.py::test_08 
[gw0] [ 25%] PASSED test_contexts.py::test_05 
[gw1] [ 30%] PASSED test_contexts.py::test_08 
test_contexts.py::test_06 
test_contexts.py::test_09[1] 
[gw0] [ 35%] PASSED test_contexts.py::test_06 
[gw1] [ 40%] PASSED test_contexts.py::test_09[1] 
test_contexts.py::test_09[2] 
test_contexts.py::test_07 
[gw1] [ 45%] PASSED test_contexts.py::test_09[2] 
[gw0] [ 50%] PASSED test_contexts.py::test_07 
test_contexts.py::test_09[3] 
[gw1] [ 55%] PASSED test_contexts.py::test_09[3] 
test_contexts.py::test_10 
test_contexts.py::test_11[1-101] 
[gw0] [ 60%] PASSED test_contexts.py::test_10 
[gw1] [ 65%] PASSED test_contexts.py::test_11[1-101] 
test_contexts.py::test_11[2-202] 
test_contexts.py::test_12[one] 
[gw1] [ 70%] PASSED test_contexts.py::test_12[one] 
[gw0] [ 75%] PASSED test_contexts.py::test_11[2-202] 
test_contexts.py::test_13[3-1] 
test_contexts.py::test_12[two] 
[gw1] [ 80%] PASSED test_contexts.py::test_13[3-1] 
[gw0] [ 85%] PASSED test_contexts.py::test_12[two] 
test_contexts.py::test_13[3-2] 
test_contexts.py::test_13[4-1] 
[gw1] [ 90%] PASSED test_contexts.py::test_13[3-2] 
test_contexts.py::test_13[4-2] 
[gw0] [ 95%] PASSED test_contexts.py::test_13[4-1] 
[gw1] [100%] PASSED test_contexts.py::test_13[4-2] 

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.46s ==============================
________________________________________________________ test_contexts[3xdist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_13[4-2]|run'
E     Use -v to get more diff
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-5/test_contexts3/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-5/test_contexts3 --cov-context=test /tmp/pytest-of-mgorny/pytest-5/test_contexts3/test_contexts.py -n 3 --basetemp=/tmp/pytest-of-mgorny/pytest-5/basetemp
     in: /tmp/pytest-of-mgorny/pytest-5/test_contexts3
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-5/test_contexts3
plugins: cov-7.0.0, xdist-3.8.0
created: 3/3 workers
3 workers [20 items]

scheduling tests via LoadScheduling

test_contexts.py::OldStyleTests::test_03 
test_contexts.py::test_05 
test_contexts.py::test_01 
[gw1] [  5%] PASSED test_contexts.py::OldStyleTests::test_03 
[gw0] [ 10%] PASSED test_contexts.py::test_01 
[gw2] [ 15%] PASSED test_contexts.py::test_05 
test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_02 
[gw1] [ 20%] PASSED test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_06 
[gw0] [ 25%] PASSED test_contexts.py::test_02 
[gw2] [ 30%] PASSED test_contexts.py::test_06 
test_contexts.py::test_07 
test_contexts.py::test_08 
test_contexts.py::test_09[1] 
[gw0] [ 35%] PASSED test_contexts.py::test_08 
[gw1] [ 40%] PASSED test_contexts.py::test_07 
[gw2] [ 45%] PASSED test_contexts.py::test_09[1] 
test_contexts.py::test_09[3] 
[gw0] [ 50%] PASSED test_contexts.py::test_09[3] 
test_contexts.py::test_09[2] 
test_contexts.py::test_10 
[gw2] [ 55%] PASSED test_contexts.py::test_10 
[gw1] [ 60%] PASSED test_contexts.py::test_09[2] 
test_contexts.py::test_12[one] 
test_contexts.py::test_11[1-101] 
test_contexts.py::test_11[2-202] 
[gw0] [ 65%] PASSED test_contexts.py::test_11[1-101] 
[gw2] [ 70%] PASSED test_contexts.py::test_12[one] 
[gw1] [ 75%] PASSED test_contexts.py::test_11[2-202] 
test_contexts.py::test_13[3-2] 
test_contexts.py::test_12[two] 
test_contexts.py::test_13[3-1] 
[gw1] [ 80%] PASSED test_contexts.py::test_13[3-2] 
[gw0] [ 85%] PASSED test_contexts.py::test_12[two] 
[gw2] [ 90%] PASSED test_contexts.py::test_13[3-1] 
test_contexts.py::test_13[4-2] 
test_contexts.py::test_13[4-1] 
[gw1] [ 95%] PASSED test_contexts.py::test_13[4-2] 
[gw0] [100%] PASSED test_contexts.py::test_13[4-1] 

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.54s ==============================
======================================================= short test summary info =======================================================
FAILED tests/test_pytest_cov.py::test_contexts[nodist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
FAILED tests/test_pytest_cov.py::test_contexts[1xdist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
FAILED tests/test_pytest_cov.py::test_contexts[2xdist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
FAILED tests/test_pytest_cov.py::test_contexts[3xdist] - AssertionError: assert {'', 'test_co..._01|run', ...} == {'', 'test_co..._01|run', ...}
========================================================== 4 failed in 3.19s ==========================================================
mgorny@pomiot /tmp/pytest-cov $ .venv/bin/pytest tests/test_pytest_cov.py::test_contexts -vv
========================================================= test session starts =========================================================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-cov
configfile: pytest.ini
plugins: cov-7.0.0, xdist-3.8.0
collected 4 items                                                                                                                     

tests/test_pytest_cov.py::test_contexts[nodist] FAILED                                                                          [ 25%]
tests/test_pytest_cov.py::test_contexts[1xdist] FAILED                                                                          [ 50%]
tests/test_pytest_cov.py::test_contexts[2xdist] FAILED                                                                          [ 75%]
tests/test_pytest_cov.py::test_contexts[3xdist] FAILED                                                                          [100%]

============================================================== FAILURES ===============================================================
________________________________________________________ test_contexts[nodist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_09[2]|setup'
E     'test_contexts.py::test_11[2-202]|run'
E     'test_contexts.py::test_08|setup'
E     'test_contexts.py::test_12[two]|run'
E     'test_contexts.py::test_13[4-1]|run'
E     'test_contexts.py::test_09[3]|run'
E     'test_contexts.py::test_13[4-2]|run'
E     'test_contexts.py::test_09[3]|setup'
E     'test_contexts.py::test_09[2]|run'
E     'test_contexts.py::test_13[3-2]|run'
E     
E     Full diff:
E       {
E           '',
E           'test_contexts.py::OldStyleTests::test_03|run',
E           'test_contexts.py::OldStyleTests::test_03|setup',
E           'test_contexts.py::OldStyleTests::test_04|run',
E           'test_contexts.py::OldStyleTests::test_04|teardown',
E           'test_contexts.py::test_01|run',
E           'test_contexts.py::test_02|run',
E           'test_contexts.py::test_05|run',
E           'test_contexts.py::test_05|setup',
E           'test_contexts.py::test_06|run',
E           'test_contexts.py::test_06|setup',
E           'test_contexts.py::test_07|run',
E           'test_contexts.py::test_07|setup',
E           'test_contexts.py::test_08|run',
E     -     'test_contexts.py::test_08|setup',
E           'test_contexts.py::test_09[1]|run',
E           'test_contexts.py::test_09[1]|setup',
E     -     'test_contexts.py::test_09[2]|run',
E     -     'test_contexts.py::test_09[2]|setup',
E     -     'test_contexts.py::test_09[3]|run',
E     -     'test_contexts.py::test_09[3]|setup',
E           'test_contexts.py::test_10|run',
E           'test_contexts.py::test_11[1-101]|run',
E     -     'test_contexts.py::test_11[2-202]|run',
E           'test_contexts.py::test_12[one]|run',
E     -     'test_contexts.py::test_12[two]|run',
E           'test_contexts.py::test_13[3-1]|run',
E     -     'test_contexts.py::test_13[3-2]|run',
E     -     'test_contexts.py::test_13[4-1]|run',
E     -     'test_contexts.py::test_13[4-2]|run',
E       }
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-6/test_contexts0/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-6/test_contexts0 --cov-context=test /tmp/pytest-of-mgorny/pytest-6/test_contexts0/test_contexts.py --basetemp=/tmp/pytest-of-mgorny/pytest-6/basetemp
     in: /tmp/pytest-of-mgorny/pytest-6/test_contexts0
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-6/test_contexts0
plugins: cov-7.0.0, xdist-3.8.0
collecting ... collected 20 items

test_contexts.py::test_01 PASSED                                         [  5%]
test_contexts.py::test_02 PASSED                                         [ 10%]
test_contexts.py::OldStyleTests::test_03 PASSED                          [ 15%]
test_contexts.py::OldStyleTests::test_04 PASSED                          [ 20%]
test_contexts.py::test_05 PASSED                                         [ 25%]
test_contexts.py::test_06 PASSED                                         [ 30%]
test_contexts.py::test_07 PASSED                                         [ 35%]
test_contexts.py::test_08 PASSED                                         [ 40%]
test_contexts.py::test_09[1] PASSED                                      [ 45%]
test_contexts.py::test_09[2] PASSED                                      [ 50%]
test_contexts.py::test_09[3] PASSED                                      [ 55%]
test_contexts.py::test_10 PASSED                                         [ 60%]
test_contexts.py::test_11[1-101] PASSED                                  [ 65%]
test_contexts.py::test_11[2-202] PASSED                                  [ 70%]
test_contexts.py::test_12[one] PASSED                                    [ 75%]
test_contexts.py::test_12[two] PASSED                                    [ 80%]
test_contexts.py::test_13[3-1] PASSED                                    [ 85%]
test_contexts.py::test_13[3-2] PASSED                                    [ 90%]
test_contexts.py::test_13[4-1] PASSED                                    [ 95%]
test_contexts.py::test_13[4-2] PASSED                                    [100%]

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.06s ==============================
________________________________________________________ test_contexts[1xdist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_09[2]|setup'
E     'test_contexts.py::test_11[2-202]|run'
E     'test_contexts.py::test_08|setup'
E     'test_contexts.py::test_12[two]|run'
E     'test_contexts.py::test_13[4-1]|run'
E     'test_contexts.py::test_09[3]|run'
E     'test_contexts.py::test_13[4-2]|run'
E     'test_contexts.py::test_09[3]|setup'
E     'test_contexts.py::test_09[2]|run'
E     'test_contexts.py::test_13[3-2]|run'
E     
E     Full diff:
E       {
E           '',
E           'test_contexts.py::OldStyleTests::test_03|run',
E           'test_contexts.py::OldStyleTests::test_03|setup',
E           'test_contexts.py::OldStyleTests::test_04|run',
E           'test_contexts.py::OldStyleTests::test_04|teardown',
E           'test_contexts.py::test_01|run',
E           'test_contexts.py::test_02|run',
E           'test_contexts.py::test_05|run',
E           'test_contexts.py::test_05|setup',
E           'test_contexts.py::test_06|run',
E           'test_contexts.py::test_06|setup',
E           'test_contexts.py::test_07|run',
E           'test_contexts.py::test_07|setup',
E           'test_contexts.py::test_08|run',
E     -     'test_contexts.py::test_08|setup',
E           'test_contexts.py::test_09[1]|run',
E           'test_contexts.py::test_09[1]|setup',
E     -     'test_contexts.py::test_09[2]|run',
E     -     'test_contexts.py::test_09[2]|setup',
E     -     'test_contexts.py::test_09[3]|run',
E     -     'test_contexts.py::test_09[3]|setup',
E           'test_contexts.py::test_10|run',
E           'test_contexts.py::test_11[1-101]|run',
E     -     'test_contexts.py::test_11[2-202]|run',
E           'test_contexts.py::test_12[one]|run',
E     -     'test_contexts.py::test_12[two]|run',
E           'test_contexts.py::test_13[3-1]|run',
E     -     'test_contexts.py::test_13[3-2]|run',
E     -     'test_contexts.py::test_13[4-1]|run',
E     -     'test_contexts.py::test_13[4-2]|run',
E       }
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-6/test_contexts1/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-6/test_contexts1 --cov-context=test /tmp/pytest-of-mgorny/pytest-6/test_contexts1/test_contexts.py -n 1 --basetemp=/tmp/pytest-of-mgorny/pytest-6/basetemp
     in: /tmp/pytest-of-mgorny/pytest-6/test_contexts1
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-6/test_contexts1
plugins: cov-7.0.0, xdist-3.8.0
created: 1/1 worker
1 worker [20 items]

scheduling tests via LoadScheduling

test_contexts.py::test_01 
[gw0] [  5%] PASSED test_contexts.py::test_01 
test_contexts.py::test_02 
[gw0] [ 10%] PASSED test_contexts.py::test_02 
test_contexts.py::OldStyleTests::test_03 
[gw0] [ 15%] PASSED test_contexts.py::OldStyleTests::test_03 
test_contexts.py::OldStyleTests::test_04 
[gw0] [ 20%] PASSED test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_05 
[gw0] [ 25%] PASSED test_contexts.py::test_05 
test_contexts.py::test_06 
[gw0] [ 30%] PASSED test_contexts.py::test_06 
test_contexts.py::test_07 
[gw0] [ 35%] PASSED test_contexts.py::test_07 
test_contexts.py::test_08 
[gw0] [ 40%] PASSED test_contexts.py::test_08 
test_contexts.py::test_09[1] 
[gw0] [ 45%] PASSED test_contexts.py::test_09[1] 
test_contexts.py::test_09[2] 
[gw0] [ 50%] PASSED test_contexts.py::test_09[2] 
test_contexts.py::test_09[3] 
[gw0] [ 55%] PASSED test_contexts.py::test_09[3] 
test_contexts.py::test_10 
[gw0] [ 60%] PASSED test_contexts.py::test_10 
test_contexts.py::test_11[1-101] 
[gw0] [ 65%] PASSED test_contexts.py::test_11[1-101] 
test_contexts.py::test_11[2-202] 
[gw0] [ 70%] PASSED test_contexts.py::test_11[2-202] 
test_contexts.py::test_12[one] 
[gw0] [ 75%] PASSED test_contexts.py::test_12[one] 
test_contexts.py::test_12[two] 
[gw0] [ 80%] PASSED test_contexts.py::test_12[two] 
test_contexts.py::test_13[3-1] 
[gw0] [ 85%] PASSED test_contexts.py::test_13[3-1] 
test_contexts.py::test_13[3-2] 
[gw0] [ 90%] PASSED test_contexts.py::test_13[3-2] 
test_contexts.py::test_13[4-1] 
[gw0] [ 95%] PASSED test_contexts.py::test_13[4-1] 
test_contexts.py::test_13[4-2] 
[gw0] [100%] PASSED test_contexts.py::test_13[4-2] 

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.41s ==============================
________________________________________________________ test_contexts[2xdist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_13[4-2]|run'
E     'test_contexts.py::test_09[2]|setup'
E     'test_contexts.py::test_13[4-1]|run'
E     'test_contexts.py::test_09[2]|run'
E     
E     Full diff:
E       {
E           '',
E           'test_contexts.py::OldStyleTests::test_03|run',
E           'test_contexts.py::OldStyleTests::test_03|setup',
E           'test_contexts.py::OldStyleTests::test_04|run',
E           'test_contexts.py::OldStyleTests::test_04|teardown',
E           'test_contexts.py::test_01|run',
E           'test_contexts.py::test_02|run',
E           'test_contexts.py::test_05|run',
E           'test_contexts.py::test_05|setup',
E           'test_contexts.py::test_06|run',
E           'test_contexts.py::test_06|setup',
E           'test_contexts.py::test_07|run',
E           'test_contexts.py::test_07|setup',
E           'test_contexts.py::test_08|run',
E           'test_contexts.py::test_08|setup',
E           'test_contexts.py::test_09[1]|run',
E           'test_contexts.py::test_09[1]|setup',
E     -     'test_contexts.py::test_09[2]|run',
E     -     'test_contexts.py::test_09[2]|setup',
E           'test_contexts.py::test_09[3]|run',
E           'test_contexts.py::test_09[3]|setup',
E           'test_contexts.py::test_10|run',
E           'test_contexts.py::test_11[1-101]|run',
E           'test_contexts.py::test_11[2-202]|run',
E           'test_contexts.py::test_12[one]|run',
E           'test_contexts.py::test_12[two]|run',
E           'test_contexts.py::test_13[3-1]|run',
E           'test_contexts.py::test_13[3-2]|run',
E     -     'test_contexts.py::test_13[4-1]|run',
E     -     'test_contexts.py::test_13[4-2]|run',
E       }
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-6/test_contexts2/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-6/test_contexts2 --cov-context=test /tmp/pytest-of-mgorny/pytest-6/test_contexts2/test_contexts.py -n 2 --basetemp=/tmp/pytest-of-mgorny/pytest-6/basetemp
     in: /tmp/pytest-of-mgorny/pytest-6/test_contexts2
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-6/test_contexts2
plugins: cov-7.0.0, xdist-3.8.0
created: 2/2 workers
2 workers [20 items]

scheduling tests via LoadScheduling

test_contexts.py::OldStyleTests::test_03 
test_contexts.py::test_01 
[gw1] [  5%] PASSED test_contexts.py::OldStyleTests::test_03 
[gw0] [ 10%] PASSED test_contexts.py::test_01 
test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_02 
[gw1] [ 15%] PASSED test_contexts.py::OldStyleTests::test_04 
[gw0] [ 20%] PASSED test_contexts.py::test_02 
test_contexts.py::test_08 
test_contexts.py::test_05 
[gw0] [ 25%] PASSED test_contexts.py::test_08 
[gw1] [ 30%] PASSED test_contexts.py::test_05 
test_contexts.py::test_06 
test_contexts.py::test_09[1] 
[gw1] [ 35%] PASSED test_contexts.py::test_06 
[gw0] [ 40%] PASSED test_contexts.py::test_09[1] 
test_contexts.py::test_07 
test_contexts.py::test_09[2] 
[gw1] [ 45%] PASSED test_contexts.py::test_07 
[gw0] [ 50%] PASSED test_contexts.py::test_09[2] 
test_contexts.py::test_10 
test_contexts.py::test_09[3] 
[gw0] [ 55%] PASSED test_contexts.py::test_10 
test_contexts.py::test_11[1-101] 
[gw1] [ 60%] PASSED test_contexts.py::test_09[3] 
[gw0] [ 65%] PASSED test_contexts.py::test_11[1-101] 
test_contexts.py::test_11[2-202] 
[gw1] [ 70%] PASSED test_contexts.py::test_11[2-202] 
test_contexts.py::test_12[one] 
[gw0] [ 75%] PASSED test_contexts.py::test_12[one] 
test_contexts.py::test_12[two] 
test_contexts.py::test_13[3-1] 
[gw1] [ 80%] PASSED test_contexts.py::test_12[two] 
[gw0] [ 85%] PASSED test_contexts.py::test_13[3-1] 
test_contexts.py::test_13[3-2] 
test_contexts.py::test_13[4-1] 
[gw1] [ 90%] PASSED test_contexts.py::test_13[3-2] 
[gw0] [ 95%] PASSED test_contexts.py::test_13[4-1] 
test_contexts.py::test_13[4-2] 
[gw1] [100%] PASSED test_contexts.py::test_13[4-2] 

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.47s ==============================
________________________________________________________ test_contexts[3xdist] ________________________________________________________
/tmp/pytest-cov/tests/test_pytest_cov.py:1978: in test_contexts
    assert data.measured_contexts() == set(EXPECTED_CONTEXTS)
E   AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
E     
E     Extra items in the right set:
E     'test_contexts.py::test_13[4-2]|run'
E     
E     Full diff:
E       {
E           '',
E           'test_contexts.py::OldStyleTests::test_03|run',
E           'test_contexts.py::OldStyleTests::test_03|setup',
E           'test_contexts.py::OldStyleTests::test_04|run',
E           'test_contexts.py::OldStyleTests::test_04|teardown',
E           'test_contexts.py::test_01|run',
E           'test_contexts.py::test_02|run',
E           'test_contexts.py::test_05|run',
E           'test_contexts.py::test_05|setup',
E           'test_contexts.py::test_06|run',
E           'test_contexts.py::test_06|setup',
E           'test_contexts.py::test_07|run',
E           'test_contexts.py::test_07|setup',
E           'test_contexts.py::test_08|run',
E           'test_contexts.py::test_08|setup',
E           'test_contexts.py::test_09[1]|run',
E           'test_contexts.py::test_09[1]|setup',
E           'test_contexts.py::test_09[2]|run',
E           'test_contexts.py::test_09[2]|setup',
E           'test_contexts.py::test_09[3]|run',
E           'test_contexts.py::test_09[3]|setup',
E           'test_contexts.py::test_10|run',
E           'test_contexts.py::test_11[1-101]|run',
E           'test_contexts.py::test_11[2-202]|run',
E           'test_contexts.py::test_12[one]|run',
E           'test_contexts.py::test_12[two]|run',
E           'test_contexts.py::test_13[3-1]|run',
E           'test_contexts.py::test_13[3-2]|run',
E           'test_contexts.py::test_13[4-1]|run',
E     -     'test_contexts.py::test_13[4-2]|run',
E       }
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
running: /tmp/pytest-cov/.venv/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mgorny/pytest-6/test_contexts3/runpytest-0 -v --cov=/tmp/pytest-of-mgorny/pytest-6/test_contexts3 --cov-context=test /tmp/pytest-of-mgorny/pytest-6/test_contexts3/test_contexts.py -n 3 --basetemp=/tmp/pytest-of-mgorny/pytest-6/basetemp
     in: /tmp/pytest-of-mgorny/pytest-6/test_contexts3
============================= test session starts ==============================
platform linux -- Python 3.14.0rc2, pytest-8.4.2, pluggy-1.6.0 -- /tmp/pytest-cov/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-mgorny/pytest-6/test_contexts3
plugins: cov-7.0.0, xdist-3.8.0
created: 3/3 workers
3 workers [20 items]

scheduling tests via LoadScheduling

test_contexts.py::test_01 
test_contexts.py::OldStyleTests::test_03 
test_contexts.py::test_05 
[gw0] [  5%] PASSED test_contexts.py::test_01 
[gw1] [ 10%] PASSED test_contexts.py::OldStyleTests::test_03 
[gw2] [ 15%] PASSED test_contexts.py::test_05 
test_contexts.py::test_02 
[gw0] [ 20%] PASSED test_contexts.py::test_02 
test_contexts.py::test_06 
test_contexts.py::OldStyleTests::test_04 
[gw1] [ 25%] PASSED test_contexts.py::OldStyleTests::test_04 
test_contexts.py::test_07 
[gw2] [ 30%] PASSED test_contexts.py::test_06 
test_contexts.py::test_08 
[gw0] [ 35%] PASSED test_contexts.py::test_07 
test_contexts.py::test_09[1] 
[gw1] [ 40%] PASSED test_contexts.py::test_08 
test_contexts.py::test_09[2] 
[gw2] [ 45%] PASSED test_contexts.py::test_09[1] 
test_contexts.py::test_09[3] 
[gw0] [ 50%] PASSED test_contexts.py::test_09[2] 
test_contexts.py::test_10 
[gw2] [ 55%] PASSED test_contexts.py::test_10 
[gw1] [ 60%] PASSED test_contexts.py::test_09[3] 
test_contexts.py::test_11[1-101] 
test_contexts.py::test_11[2-202] 
[gw0] [ 65%] PASSED test_contexts.py::test_11[1-101] 
[gw1] [ 70%] PASSED test_contexts.py::test_11[2-202] 
test_contexts.py::test_12[one] 
test_contexts.py::test_12[two] 
[gw2] [ 75%] PASSED test_contexts.py::test_12[one] 
test_contexts.py::test_13[3-1] 
[gw0] [ 80%] PASSED test_contexts.py::test_12[two] 
test_contexts.py::test_13[3-2] 
[gw1] [ 85%] PASSED test_contexts.py::test_13[3-1] 
test_contexts.py::test_13[4-1] 
[gw2] [ 90%] PASSED test_contexts.py::test_13[3-2] 
test_contexts.py::test_13[4-2] 
[gw1] [ 95%] PASSED test_contexts.py::test_13[4-2] 
[gw0] [100%] PASSED test_contexts.py::test_13[4-1] 

================================ tests coverage ================================
_____________ coverage: platform linux, python 3.14.0-candidate-2 ______________

Name               Stmts   Miss  Cover
--------------------------------------
test_contexts.py      59      0   100%
--------------------------------------
TOTAL                 59      0   100%
============================== 20 passed in 0.54s ==============================
======================================================= short test summary info =======================================================
FAILED tests/test_pytest_cov.py::test_contexts[nodist] - AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
  
  Extra items in the right set:
  'test_contexts.py::test_09[2]|setup'
  'test_contexts.py::test_11[2-202]|run'
  'test_contexts.py::test_08|setup'
  'test_contexts.py::test_12[two]|run'
  'test_contexts.py::test_13[4-1]|run'
  'test_contexts.py::test_09[3]|run'
  'test_contexts.py::test_13[4-2]|run'
  'test_contexts.py::test_09[3]|setup'
  'test_contexts.py::test_09[2]|run'
  'test_contexts.py::test_13[3-2]|run'
  
  Full diff:
    {
        '',
        'test_contexts.py::OldStyleTests::test_03|run',
        'test_contexts.py::OldStyleTests::test_03|setup',
        'test_contexts.py::OldStyleTests::test_04|run',
        'test_contexts.py::OldStyleTests::test_04|teardown',
        'test_contexts.py::test_01|run',
        'test_contexts.py::test_02|run',
        'test_contexts.py::test_05|run',
        'test_contexts.py::test_05|setup',
        'test_contexts.py::test_06|run',
        'test_contexts.py::test_06|setup',
        'test_contexts.py::test_07|run',
        'test_contexts.py::test_07|setup',
        'test_contexts.py::test_08|run',
  -     'test_contexts.py::test_08|setup',
        'test_contexts.py::test_09[1]|run',
        'test_contexts.py::test_09[1]|setup',
  -     'test_contexts.py::test_09[2]|run',
  -     'test_contexts.py::test_09[2]|setup',
  -     'test_contexts.py::test_09[3]|run',
  -     'test_contexts.py::test_09[3]|setup',
        'test_contexts.py::test_10|run',
        'test_contexts.py::test_11[1-101]|run',
  -     'test_contexts.py::test_11[2-202]|run',
        'test_contexts.py::test_12[one]|run',
  -     'test_contexts.py::test_12[two]|run',
        'test_contexts.py::test_13[3-1]|run',
  -     'test_contexts.py::test_13[3-2]|run',
  -     'test_contexts.py::test_13[4-1]|run',
  -     'test_contexts.py::test_13[4-2]|run',
    }
FAILED tests/test_pytest_cov.py::test_contexts[1xdist] - AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
  
  Extra items in the right set:
  'test_contexts.py::test_09[2]|setup'
  'test_contexts.py::test_11[2-202]|run'
  'test_contexts.py::test_08|setup'
  'test_contexts.py::test_12[two]|run'
  'test_contexts.py::test_13[4-1]|run'
  'test_contexts.py::test_09[3]|run'
  'test_contexts.py::test_13[4-2]|run'
  'test_contexts.py::test_09[3]|setup'
  'test_contexts.py::test_09[2]|run'
  'test_contexts.py::test_13[3-2]|run'
  
  Full diff:
    {
        '',
        'test_contexts.py::OldStyleTests::test_03|run',
        'test_contexts.py::OldStyleTests::test_03|setup',
        'test_contexts.py::OldStyleTests::test_04|run',
        'test_contexts.py::OldStyleTests::test_04|teardown',
        'test_contexts.py::test_01|run',
        'test_contexts.py::test_02|run',
        'test_contexts.py::test_05|run',
        'test_contexts.py::test_05|setup',
        'test_contexts.py::test_06|run',
        'test_contexts.py::test_06|setup',
        'test_contexts.py::test_07|run',
        'test_contexts.py::test_07|setup',
        'test_contexts.py::test_08|run',
  -     'test_contexts.py::test_08|setup',
        'test_contexts.py::test_09[1]|run',
        'test_contexts.py::test_09[1]|setup',
  -     'test_contexts.py::test_09[2]|run',
  -     'test_contexts.py::test_09[2]|setup',
  -     'test_contexts.py::test_09[3]|run',
  -     'test_contexts.py::test_09[3]|setup',
        'test_contexts.py::test_10|run',
        'test_contexts.py::test_11[1-101]|run',
  -     'test_contexts.py::test_11[2-202]|run',
        'test_contexts.py::test_12[one]|run',
  -     'test_contexts.py::test_12[two]|run',
        'test_contexts.py::test_13[3-1]|run',
  -     'test_contexts.py::test_13[3-2]|run',
  -     'test_contexts.py::test_13[4-1]|run',
  -     'test_contexts.py::test_13[4-2]|run',
    }
FAILED tests/test_pytest_cov.py::test_contexts[2xdist] - AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
  
  Extra items in the right set:
  'test_contexts.py::test_13[4-2]|run'
  'test_contexts.py::test_09[2]|setup'
  'test_contexts.py::test_13[4-1]|run'
  'test_contexts.py::test_09[2]|run'
  
  Full diff:
    {
        '',
        'test_contexts.py::OldStyleTests::test_03|run',
        'test_contexts.py::OldStyleTests::test_03|setup',
        'test_contexts.py::OldStyleTests::test_04|run',
        'test_contexts.py::OldStyleTests::test_04|teardown',
        'test_contexts.py::test_01|run',
        'test_contexts.py::test_02|run',
        'test_contexts.py::test_05|run',
        'test_contexts.py::test_05|setup',
        'test_contexts.py::test_06|run',
        'test_contexts.py::test_06|setup',
        'test_contexts.py::test_07|run',
        'test_contexts.py::test_07|setup',
        'test_contexts.py::test_08|run',
        'test_contexts.py::test_08|setup',
        'test_contexts.py::test_09[1]|run',
        'test_contexts.py::test_09[1]|setup',
  -     'test_contexts.py::test_09[2]|run',
  -     'test_contexts.py::test_09[2]|setup',
        'test_contexts.py::test_09[3]|run',
        'test_contexts.py::test_09[3]|setup',
        'test_contexts.py::test_10|run',
        'test_contexts.py::test_11[1-101]|run',
        'test_contexts.py::test_11[2-202]|run',
        'test_contexts.py::test_12[one]|run',
        'test_contexts.py::test_12[two]|run',
        'test_contexts.py::test_13[3-1]|run',
        'test_contexts.py::test_13[3-2]|run',
  -     'test_contexts.py::test_13[4-1]|run',
  -     'test_contexts.py::test_13[4-2]|run',
    }
FAILED tests/test_pytest_cov.py::test_contexts[3xdist] - AssertionError: assert {'', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_05|setup', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_05|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'} == {'', 'test_contexts.py::OldStyleTests::test_04|run', 'test_contexts.py::test_06|setup', 'test_contexts.py::test_08|setup', 'test_contexts.py::test_12[two]|run', 'test_contexts.py::OldStyleTests::test_03|setup', 'test_contexts.py::test_13[3-1]|run', 'test_contexts.py::test_13[4-1]|run', 'test_contexts.py::test_07|setup', 'test_contexts.py::test_09[1]|setup', 'test_contexts.py::test_05|setup', 'test_contexts.py::test_13[4-2]|run', 'test_contexts.py::OldStyleTests::test_03|run', 'test_contexts.py::test_09[3]|setup', 'test_contexts.py::test_05|run', 'test_contexts.py::test_09[1]|run', 'test_contexts.py::test_11[1-101]|run', 'test_contexts.py::OldStyleTests::test_04|teardown', 'test_contexts.py::test_01|run', 'test_contexts.py::test_09[2]|setup', 'test_contexts.py::test_11[2-202]|run', 'test_contexts.py::test_12[one]|run', 'test_contexts.py::test_09[3]|run', 'test_contexts.py::test_08|run', 'test_contexts.py::test_09[2]|run', 'test_contexts.py::test_02|run', 'test_contexts.py::test_06|run', 'test_contexts.py::test_10|run', 'test_contexts.py::test_13[3-2]|run', 'test_contexts.py::test_07|run'}
  
  Extra items in the right set:
  'test_contexts.py::test_13[4-2]|run'
  
  Full diff:
    {
        '',
        'test_contexts.py::OldStyleTests::test_03|run',
        'test_contexts.py::OldStyleTests::test_03|setup',
        'test_contexts.py::OldStyleTests::test_04|run',
        'test_contexts.py::OldStyleTests::test_04|teardown',
        'test_contexts.py::test_01|run',
        'test_contexts.py::test_02|run',
        'test_contexts.py::test_05|run',
        'test_contexts.py::test_05|setup',
        'test_contexts.py::test_06|run',
        'test_contexts.py::test_06|setup',
        'test_contexts.py::test_07|run',
        'test_contexts.py::test_07|setup',
        'test_contexts.py::test_08|run',
        'test_contexts.py::test_08|setup',
        'test_contexts.py::test_09[1]|run',
        'test_contexts.py::test_09[1]|setup',
        'test_contexts.py::test_09[2]|run',
        'test_contexts.py::test_09[2]|setup',
        'test_contexts.py::test_09[3]|run',
        'test_contexts.py::test_09[3]|setup',
        'test_contexts.py::test_10|run',
        'test_contexts.py::test_11[1-101]|run',
        'test_contexts.py::test_11[2-202]|run',
        'test_contexts.py::test_12[one]|run',
        'test_contexts.py::test_12[two]|run',
        'test_contexts.py::test_13[3-1]|run',
        'test_contexts.py::test_13[3-2]|run',
        'test_contexts.py::test_13[4-1]|run',
  -     'test_contexts.py::test_13[4-2]|run',
    }
========================================================== 4 failed in 3.01s ==========================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions