Not really. The 1876 election in Florida for example meets the spirit if not the letter of such marked partisanship. It's actually a loong story, but the main points are:
a Republican-majority (2:1) state canvassing board excluded some Democrat county boards' returns from the totals, alleging fraud or "irregular" returns from such Democratic-controlled counties. This decision gave both the governorship and the state electors to Republicans. (There were concurrent elections.)
The Florida supreme court, although having a similar Republican majority (2:1) gave a surprise 3:0 decision in favor of the Democrats, forcing a "ministerial" recount, in which the state board was not allowed to exercise judgement as to which county returns were fraudulent or irregular. Crucially, in order to avoid intervention by federal judges, the lawsuit in front of the Florida supreme court only concerned the governor's election, although the presidential election was conducted simultaneously. It's a somewhat complicated story why the Republican judges on the Florida Supreme supreme court gave this surprising judgement; the Republican board members refused to answer questions during the proceedings, not recognizing the court's authority. Furthermore, one of the Republican judges on the court had a strong personal animosity towards the Republican governor, who was running for re-election. Eventually the board acquiesced to the Court's decision so a Democratic governor was installed as the victor, but not before the outgoing Republican governor certified the results of presidential election in favor of the Republican candidate.
The new Democratic governor, with the cooperation of the Democratic-controlled state legislature appointed an entirely Democratic canvassing board, which certified a new set of electors, in favor of the Democratic candidate for presidency.
Eventually, the US Congress commission of 1877 voted on partisan lines (8:7) to accept the initial results sent by the Republican governor of Florida.
Reference: Jerrell H. Shofner, "Florida Courts and the Disputed Election of 1876", The Florida Historical Quarterly Vol. 48, No. 1 (Jul., 1969), pp. 26-46