Useful or not, from you.
rpmlint Warn against python test construct

python test subcommand has been deprecated, users should be warned against using it.

That's a useful answer
Without any help

I see. So should we warn about any %python_exec test call in a spec file? Are you willing to create a pull request for it? Looking at openSUSE:Factory package, there are quite some:

grep ' test' *.spec | wc -l