The Detroit teachers' union has filed a lawsuit against the district calling for repairing "deplorable" conditions and removing the state-appointed emergency manager.

The Detroit Federation of Teachers' suit filed Thursday in Wayne County Circuit Court seeks "an appropriately funded capital plan" to fix districtwide problems. It calls for removing Emergency Manager Darnell Earley and returning to local control.

A district spokeswoman didn't immediately respond to a message from The Associated Press seeking comment.

Rolling teacher sick-outs in the Detroit Public Schools have forced the closing of dozens of schools some days. A judge this week denied the district's second attempt at a temporary restraining order against the sick-outs over poor pay, crowded classrooms, unsafe buildings and other issues.

The union says it doesn't condone educators' actions involved in the sick-outs.