Ignore DeprecationWarnings in test_trial_error
Ignore DeprecationWarnings in test_trial_error

Fixes https://github.com/pytest-dev/pytest/issues/8663

Akasurde/pytest,RonnyPfannschmidt/pytest,pytest-dev/pytest,markshao/pytest