Co-authored-by: pytest bot <pytestbot@gmail.com> (cherry picked from commit df9df5574913b2e7753b8cf6ebbf06ed9fbde10d)