Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 877263

Summary: dev-python/pytest-cov-3.0.0-r2 fails test tests/test_pytest_cov.py::test_contexts
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:pytest-cov-3.0.0-r2:20221015-152153.log
emerge-info.txt

Description Jonathan Lovelace 2022-10-16 00:16:39 UTC
Created attachment 824341 [details]
dev-python:pytest-cov-3.0.0-r2:20221015-152153.log

=dev-python/pytest-cov-3.0.0-r2 fails one test for me:

=========================================================== short test summary info ============================================================
SKIPPED [1] tests/test_pytest_cov.py:1047: deadlocks on Python 3.8+, see: https://bugs.python.org/issue38227
SKIPPED [1] tests/test_pytest_cov.py:1089: deadlocks on Python 3.8, see: https://bugs.python.org/issue38227
SKIPPED [3] tests/test_pytest_cov.py:1316: condition: sys.platform != "win32"
FAILED tests/test_pytest_cov.py::test_contexts[nodist] - AssertionError: assert {'',\n 'test_contexts.py::OldStyleTests::test_03|run',\n 'tes...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================ 1 failed, 121 passed, 5 skipped, 1 deselected, 1 warning in 141.25s (0:02:21) =================================

As far as I can see, this is a completely different failure from the failures reported in bug #776334.
Comment 1 Jonathan Lovelace 2022-10-16 00:17:06 UTC
Created attachment 824343 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-05 16:56:35 UTC
We're on 4.0.0-r1 now and I've just pushed one more test fix.  Please reopen if you can still reproduce the issue with the newest coverage+pytest-cov.