In all contested nomination and election cases, the committee or court may, in its discretion, limit the time to be consumed in taking testimony, dividing said time equitably among all parties concerned, with a view therein to the circumstances of the matter and the proximity of the next succeeding election.
25 P.S. § 3471