SAN FRANCISCO—Lawyers for Twitter Inc. pushed back against an attempt to certify a class of female engineers in a gender discrimination case Wednesday.

Twitter’s lead lawyer, Lynne Hermle of Orrick, Herrington & Sutcliffe, told San Francisco Superior Court Judge Mary Wiss that the plaintiff couldn’t show that the company’s promotion practices caused a disproportionate number of women to be passed over for promotions.