Avoid new py.test API feature