AT&T Inc. was dismayed at its report card from a government test measuring internet speeds. So the telecom giant sought to change its grade.

The company pushed the Federal Communications Commission to omit unflattering data on its DSL internet service from the report, which assesses whether providers are delivering the speeds they advertise. AT&T also didn’t provide information the FCC needed to validate speeds on those customers, the test officials confirmed.

In...