Open kloczek opened 2 years ago
These are not fixtures. The test suite is incompatible with pytest, unfortunately.
It woulkd be really good to have pytest support. */9 of my all packages with python modules supprts pytest.
[tkloczko@devel-g2v SPECS]$ grep ^%pytest python-* -l | wc -l; ls -1 python-* -l | wc -l
819
926
Yeah, given how nosetests are completely broken with Python 3.11 (and we really don't want yet another patchset to fix them), I'm going to try to make a patch for this.
Yay, I've found an easy way to fix that. It's not exactly the prettiest method but at least the patch is small.
Tested that commit and indeed it fixes pytest 👍 Howevere there are still few pytest warnings 😋
Just retested in updated build env and now I have one unit failing
Here is list of installed modules in build env
pytest is for me and to be honest I know that something is missing in my build env but I cannot figure out which one module(s) I need to install :/ May I as for some hints? And in below output latest pytest (6.2.4) shows some deprecation warnings