United Airlines and the Teamsters union say that the carrier's mechanics have ratified a new labor contract.