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

Bug 813093

Summary: dev-python/pytest-xdist-2.3.0 fails test testing/acceptance_test.py::test_without_terminal_plugin
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: paolo.pedroni
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:pytest-xdist-2.3.0:20210914-194914.log
emerge-info.txt

Description Jonathan Lovelace 2021-09-14 20:55:26 UTC
Created attachment 739326 [details]
dev-python:pytest-xdist-2.3.0:20210914-194914.log

On rebuilding to drop Python 3.8 support, =dev-python/pytest-xdist-2.3.0 fails its test phase, specifically the test testing/acceptance_test.py::test_without_terminal_plugin . As with pytest-mock in bug #813061, it looks like the test asserts there is no output from a subprocess but pytest-xprocess added some output.

Full build log and emerge --info attached.
Comment 1 Jonathan Lovelace 2021-09-14 20:55:58 UTC
Created attachment 739329 [details]
emerge-info.txt
Comment 2 Paolo Pedroni 2021-10-15 14:45:51 UTC
Same thing happened to me.
Comment 3 Larry the Git Cow gentoo-dev 2021-10-15 19:53:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a8fec347738d27d8daf70f10439b1f2754e2e8

commit 61a8fec347738d27d8daf70f10439b1f2754e2e8
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2021-10-15 19:52:08 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-10-15 19:53:44 +0000

    dev-python/pytest-xdist: backport fix testing with xprocess
    
    backport fix by mgorny for testing when pytest-xprocess is
    installed.
    
    Closes: https://bugs.gentoo.org/813093
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/pytest-xdist/pytest-xdist-2.3.0.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)