pytest 4.1 support: ``ExceptionInfo`` API changes.