[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python-pytest on core-updates (was: i686 core-updates failure.)

From: Andreas Enge
Subject: Re: python-pytest on core-updates (was: i686 core-updates failure.)
Date: Sat, 15 Apr 2023 13:20:07 +0200

Am Fri, Apr 14, 2023 at 08:05:46PM +0000 schrieb Kaelyn:
> I just sent in to disable the two tests for 
> i686 and armhf (disabling TestKind.test_all for armhf might not be needed, 
> but the Gentoo package definition suggests the huge array test will fail for 
> armhf as well).

Thanks for taking care of this! Disabling the large array test on all 32 bit
architectures sounds reasonable, and I think that disabling the fortran test
on armhf is a reasonable approach also given that we have no CI for this

The recent master/staging merge apparently broke python-pytest even on
x86_64, see message below, which should be sorted out first.


=================================== FAILURES ===================================
___________________ test_raise_assertion_error_raising_repr ____________________

pytester = <Pytester 

    def test_raise_assertion_error_raising_repr(pytester: Pytester) -> None:
            class RaisingRepr(object):
                def __repr__(self):
                    raise Exception()
            def test_raising_repr():
                raise AssertionError(RaisingRepr())
        result = pytester.runpytest()
        if sys.version_info >= (3, 11):
            # python 3.11 has native support for un-str-able exceptions
                ["E       AssertionError: <exception str() failed>"]
>           result.stdout.fnmatch_lines(
                ["E       AssertionError: <unprintable AssertionError object>"]
E           Failed: nomatch: 'E       AssertionError: <unprintable 
AssertionError object>'
E               and: '============================= test session starts 
E               and: 'platform linux -- Python 3.10.7, pytest-7.1.3, 
E               and: 'rootdir: 
E               and: 'collected 1 item'
E               and: ''
E               and: ' F              
E               and: ''
E               and: '=================================== FAILURES 
E               and: '______________________________ test_raising_repr 
E               and: ''
E               and: '    def test_raising_repr():'
E               and: '>       raise AssertionError(RaisingRepr())'
E               and: 'E       AssertionError: <exception str() failed>'
E               and: ''
E               and: ' 
E               and: '=========================== short test summary info 
E               and: 'FAILED - Assert...'
E               and: '============================== 1 failed in 0.01s 
E           remains unmatched: 'E       AssertionError: <unprintable 
AssertionError object>'

----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.10.7, pytest-7.1.3, pluggy-1.0.0
collected 1 item F                             [100%]

=================================== FAILURES ===================================
______________________________ test_raising_repr _______________________________

    def test_raising_repr():
>       raise AssertionError(RaisingRepr())
E       AssertionError: <exception str() failed> AssertionError
=========================== short test summary info ============================
FAILED - Assert...
============================== 1 failed in 0.01s ===============================
=========================== short test summary info ============================
FAILED testing/ - F...
= 1 failed, 3040 passed, 92 skipped, 15 deselected, 9 xfailed in 290.90s 
(0:04:50) =
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "pytest" arguments: ("-vv" "-k" " not 
test_argcomplete and not test_code_highlight and not test_color_yes") 
exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 292.0 seconds
command "pytest" "-vv" "-k" " not test_argcomplete and not test_code_highlight 
and not test_color_yes" failed with status 1
builder for 
`/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed 
with exit code 1
@ build-failed 
/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv - 1 builder 
for `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' 
failed with exit code 1
'/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' offloaded 
to '' failed: build of 
`/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed
build of /gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv 
View build log at 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]