Source: b4
Version: 0.12.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=b4&arch=all&ver=0.12.0-1&stamp=1676194076&raw=0

...
==================================== ERRORS ====================================
____ ERROR at setup of test_check_gpg_status[good-valid-trusted-expected0] _____

tmp_path = 
PosixPath('/tmp/pytest-of-buildd/pytest-0/test_check_gpg_status_good_val0')

    @pytest.fixture(scope="function", autouse=True)
    def settestdefaults(tmp_path):
        topdir = b4.git_get_toplevel()
        if topdir != os.getcwd():
>           os.chdir(topdir)
E           TypeError: chdir: path should be string, bytes, os.PathLike or 
integer, not NoneType

tests/conftest.py:11: TypeError
...
============================== 54 errors in 0.65s ==============================
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_b4/build; python3.11 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
returned exit code 13
make: *** [debian/rules:6: binary-indep] Error 25

Reply via email to