[Debichem-devel] Bug#1026207: python-ase: autopkgtest regression because test functions return values

Timo Röhling roehling at debian.org
Fri Dec 16 10:08:31 GMT 2022


Source: python-ase
Version: 3.22.1-2
Severity: serious
Control: affects -1 src:pytest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainers,

the autopkgtest of your package started failing because some of the
tests return values. This has always been incorrect (tests are expected
to assert, not return anything), but recently, pytest 7.2 started
issuing warnings to stderr [1].

As a simple workaround, you could set "Restrictions: allow-stderr" until
upstream has fixed their tests properly.


Cheers
Timo

[1] https://docs.pytest.org/en/7.2.x/deprecations.html#returning-non-none-value-in-test-functions


-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmOcQ5cACgkQ+C8H+466
LVmxrAwA3nN7Lbpp5XoVNWAR8NKy3fENAty3CFTnc17myzhoYc4TVoj8e9Vzg+Ci
NuHgY3gl7AKTYK4mPtgicw5VXOdt+hojwJDgsMjRIYli/zssLFhfsN+I3/YoETsN
tw5V+HJMJpahcMuHKgqcMfR3mVTy52u1eNrsf7jsyFyUacs2PO2/5tNaKCzAfinF
Y5HB7oii4+drxSdHGTJqADDrBmAQvkXqzLsJLyG7kJpGBw7qLBN7IQdPMvoQMgcw
iP4r9Y5lA7n3ae2Q/Nukt4/lF1snEn6KUcN1gkVeDbY2twRvlORNwnu5o8r7tJmU
W5vHvB5eP0aakylfQQqhbUdq9jsvoWLbZHCY9dlrrLFwa1TA88olKXNoEcdup/rc
Obj3rrkhrVHEs1Ax626PCuFOg5Y1+sVv9m/LJo4dEyh0/35S1gw6BZA697hrWnO9
pcElGT4lL4CXkb7LcS//y4YjOf8gLx9xi/6LwC62JsYkweCocqzqZXbyIErATBXx
4rjUs7u0
=Ysj+
-----END PGP SIGNATURE-----



More information about the Debichem-devel mailing list