%check: Ignore DeprecationWarnings
Upstream treats unknown DeprecationWarnings as errors (see pytest.ini)
but that blocks rebuilds with new Python versions (Python 3.11 for now).
Let upstream deal with DeprecationWarnings and ignore them here in %check.