Ten cities will hold preliminary municipal elections on Tuesday and in one of those cities state Sen. Thomas McGee and two-term Lynn Mayor Judith Flanagan Kennedy will get a reading on where they stand against each other in that mayoral battle.

McGee, a Democrat who has represented Lynn in the Senate since 2003, is winning the money race against the Republican incumbent.

But McGee and Kennedy will get an idea of where they currently stand with voters as they go head to head in a preliminary vote that has no repercussions other than to show how the two stack up two months before the final vote.

With only two candidates running, McGee and Kennedy are guaranteed to advance to the general election in November.

The fact that they will appear on the ballot at all is a quirk of Lynn's charter. Most other cities don't bother printing the names of candidates on preliminary ballots if all who running are guaranteed to advance to the general.

McGee had $103,165 in his campaign account at the end of August compared to Kennedy's $13,551.

Two other cities have mayoral races on the ballot in the Tuesday preliminaries, according to Secretary of State William Galvin's office.

Fall River voters will narrow the field of candidates from five to two, while in Newton, where Mayor Setti Warren opted to forgo a re-election campaign to run for governor, voters will choose two of seven candidates to advance to the general election.

Newton's next mayor will come from a pool that includes City Council President Scott Lennon, who is also Middlesex Sheriff Peter Koutoujian's budget director; City Councilor Amy Mah Sangiolo; City Councilor Ruthanne Fuller; Geoffrey Woodward, a grant writer for the city health department; writer and technology manager Richard Saunders; StormPort Productions executive manager Eli Katzoff; and chef and attorney Al Cecchinelli, the only Republican in non-partisan mayoral race.

In Fall River, Mayor Jasiel Correia is running for re-election against four challengers, including City Council Vice President Linda Pereira, City Councilor Richard Cabeceiras, veteran and former cop Jordan James Silvia and Ronald Cabral.

Overall, voters in Fall River, Greenfield, Lynn, Medford, Newton, Peabody, Quincy, Salem, Woburn, and Worcester will head to the polls to narrow the field of candidates for a variety of offices, including city councils and school committees.

The polls will be open from 7 a.m. to 8 p.m. in all cities.