python setup.py test subcommand has been deprecated, users should be warned against using it.
I see. So should we warn about any
%python_exec setup.py test call in a spec file?
Are you willing to create a pull request for it?
openSUSE:Factory package, there are quite some:
grep 'setup.py test' *.spec | wc -l 162