Wyoming constitution
Article 6: suffrage and elections
Section 14

The legislature shall, by general law, designate the courts by which the several classes of election contests not otherwise provided for, shall be tried, and regulate the manner of trial and all matters incident thereto; but no such law shall apply to any contest arising out of an election held before its passage.