
6 Jun
2021
6 Jun
'21
06:32
Dne 24. 05. 21 v 11:31 Ben Greiner napsal(a):
Why use pytest at all? The recommended way to replace `python setup.py test` is to call `python -m unittest` directly. If it is supported by all build targets (you need to adjust your Leap 15.2 target to include backports), you can use the macro:
pytest has better error reports, but yes, unless the upstream uses pytest, I usually rather stay with %pyunittest macro. Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mcepl@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 If in desperation, read the documentation! -- Brian D. Ripley, on R-help list