How to fix dynamically added xfail markers not working in pytest 6?