Source: statsmodels
Version: 0.15.0+dfsg-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: armhf

https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=armhf&ver=0.15.0%2Bdfsg-2&stamp=1793461672&raw=0

...
=================================== FAILURES ===================================
_________________________ TestTTPowerOneS1.test_roots __________________________

self = <statsmodels.stats.tests.test_power.TestTTPowerOneS1 object at 
0xea607ca8>

    def test_roots(self):
        kwds = copy.copy(self.kwds)
        kwds.update(self.kwds_extra)
        # kwds_extra are used as argument, but not as target for root
        for key in self.kwds:
            if key == "alpha":
                if (PLATFORM_WIN and isinstance(self, TestTTPowerOneS1)) or (
                    PLATFORM_OSX
                    and isinstance(self, (TestTTPowerOneS1, TestTTPowerTwoS1))
                ):
                    pytest.xfail(
                        f"alpha test failing test {self.__class__} for key 
{key} on "
                        f"recent SciPy on Windows and Darwin"
                    )
    
            value = kwds[key]
            kwds[key] = None
            try:
                result = self.cls().solve_power(**kwds)
            except Exception as exc:
                msg = (
                    f"class: {self.__class__.__name__}, key: {key}, "
                    f"value: {value}, kwds: {kwds}"
                )
                if isinstance(exc, ValueError) and "f(a) and f(b) must have 
different signs" in str(exc):
                    print(msg,exc)
                else:
                    raise AssertionError(msg) from exc
>           assert_allclose(result, value, rtol=0.001, err_msg=key + " failed")
E           AssertionError: 
E           Not equal to tolerance rtol=0.001, atol=0
E           alpha failed
E           Mismatched elements: 1 / 1 (100%)
E           Max absolute difference among violations: 29.94999975
E           Max relative difference among violations: 598.999995
E            ACTUAL: array(30.)
E            DESIRED: array(0.05)

statsmodels/stats/tests/test_power.py:105: AssertionError
...
=========================== short test summary info ============================
FAILED statsmodels/stats/tests/test_power.py::TestTTPowerOneS1::test_roots - ...
= 1 failed, 20848 passed, 394 skipped, 144 xfailed, 1 xpassed, 567 warnings in 
1376.78s (0:22:56) =
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: cd 
/build/reproducible-path/statsmodels-0.15.0+dfsg/.pybuild/cpython3_3.14_statsmodels/build
 && python3.14 -m pytest -v -c 
/build/reproducible-path/statsmodels-0.15.0+dfsg/pyproject.toml 
/build/reproducible-path/statsmodels-0.15.0+dfsg/.pybuild/cpython3_3.14_statsmodels/build/statsmodels
 && rm -f 
/build/reproducible-path/statsmodels-0.15.0+dfsg/.pybuild/cpython3_3.14_statsmodels/build/test-data.xml
...

Reply via email to