HARRISBURG, Pa. (AP) — The only scheduled debate among all the candidates for three open seats on the Pennsylvania Supreme Court is just hours away.

Wednesday’s forum at Widener University Law School in Harrisburg comes less than three weeks before the Nov. 3 election.

Seven candidates are running — three Democrats, three Republicans and an independent.

Two of the open seats resulted from the resignations of disgraced justices — a Democrat implicated in a pornographic email scandal and a Republican convicted of corruption for using state-paid staff for political work.

The seven-member court itself is under a microscope because of allegations that a second justice is involved in the email scandal and criticism that the court has interfered in disciplinary cases that should have been handled by independent panels required by the state constitution.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)