Source: py7zr
Version: 0.11.3+dfsg-1
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/logs.php?pkg=py7zr&ver=0.11.3%2Bdfsg-1%2Bb1

...
============================= test session starts ==============================
platform linux -- Python 3.10.0+, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False 
min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 
warmup=False warmup_iterations=100000)
rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
plugins: cov-3.0.0, benchmark-3.2.2
collected 268 items / 12 deselected / 256 selected

tests/test_archive.py .......................ss....                      [ 11%]
tests/test_basic.py .............F.........................              [ 26%]
tests/test_benchmark.py ......                                           [ 28%]
tests/test_concurrent.py .                                               [ 29%]
tests/test_encryption.py ............s..                                 [ 35%]
tests/test_extra_codecs.py ......ssss......s.ssss                        [ 43%]
tests/test_extract.py ......................................s.....       [ 60%]
tests/test_info.py ..................                                    [ 67%]
tests/test_misc.py ss..                                                  [ 69%]
tests/test_unit.py ..................................................... [ 90%]
...............s.....                                                    [ 98%]
tests/test_win32compat.py ...s                                           [100%]

=================================== FAILURES ===================================
________________________________ test_cli_help _________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f1529a9ee60>

    @pytest.mark.cli
    def test_cli_help(capsys):
    
        expected = 'usage: py7zr [-h] [--version] {l,x,c,a,t,i} 
...\n\npy7zr\n\noptional arguments:\n  -h, --help'
        cli = py7zr.cli.Cli()
        with pytest.raises(SystemExit):
            cli.run(["-h"])
        out, err = capsys.readouterr()
>       assert out.startswith(expected)
E       AssertionError: assert False
E        +  where False = <built-in method startswith of str object at 
0x7f15298fd630>('usage: py7zr [-h] [--version] {l,x,c,a,t,i} 
...\n\npy7zr\n\noptional arguments:\n  -h, --help')
E        +    where <built-in method startswith of str object at 
0x7f15298fd630> = 'usage: py7zr [-h] [--version] {l,x,c,a,t,i} 
...\n\npy7zr\n\noptions:\n  -h, --help     show this help message and exi...s 
of archive\n                   t : Test integrity of archive\n                  
 x : eXtract files with full paths\n'.startswith

/<<PKGBUILDDIR>>/tests/test_basic.py:174: AssertionError
...

Reply via email to