Use pytest helper for exceptions