Hillary Clinton’s lead in Pennsylvania has been fairly consistent over the past month. | Getty Poll: Clinton leads Trump by 7 in Pennsylvania

Hillary Clinton leads Donald Trump in Pennsylvania, according to a poll out Thursday that shows Trump’s path to an Electoral College majority remains a tight-rope walk.

The Siena College poll, conducted for The New York Times’ "Upshot" data-journalism microsite, shows Clinton leading Trump, 46 percent to 39 percent. Libertarian Gary Johnson is at 6 percent, and Green Party nominee Jill Stein is at 3 percent. A combined 7 percent of likely voters prefer another candidate, won’t vote for the top of the ticket or are undecided.

Clinton’s lead in Pennsylvania has been fairly consistent over the past month, and her 7-point lead in the new survey matches her overall advantage in POLITICO’s Battleground States polling average in the commonwealth. The new poll was conducted Oct. 23-25, even as other surveys have indicated Trump is tightening the race slightly.

The former secretary of state is running better with white voters in Pennsylvania than she is nationally, the poll shows. Trump has a 5-point lead among white voters, 45 percent to 40 percent, but Clinton has a commanding lead over Trump among African-American voters, 90 percent to 1 percent. Clinton also leads among Hispanic voters, 61 percent to 13 percent.

As in most states, education remains a stark divide among white voters. Trump leads by 17 points among white voters without a college degree, 51 percent to 34 percent. But Clinton leads by 9 points among white college graduates, 47 percent to 38 percent.

Clinton has a similar lead in the Philadelphia suburbs, a swing area where many white-collar white voters reside. Clinton leads there by 12 points, 48 percent to 36 percent, offsetting Trump’s advantages in the northeast and central parts of the commonwealth.

Neither campaign is taking Pennsylvania off the table: Both candidates continue to advertise and visit the state. Clinton’s running mate, Virginia Sen. Tim Kaine, was in Pennsylvania on Wednesday, and former President Bill Clinton will make three separate stops there on Friday.

Indiana Gov. Mike Pence, Trump’s running mate, will be in the Philadelphia suburbs on Friday as well.

But if Trump can’t win Pennsylvania’s 20 electoral votes, he will need to run the table in the other contested states — a list that includes states like Florida and Nevada where the balance of public polling shows Clinton ahead, though Trump has been tied or up in some limited surveys.

Meanwhile, in the key Senate race, incumbent GOP Sen. Pat Toomey is narrowly trailing his Democratic challenger, Katie McGinty. McGinty, who until recently served as chief of staff to Gov. Tom Wolf, leads Toomey in the poll, 47 percent to 44 percent.

Toomey is running closer than Trump because he is winning more self-identified Republicans than the presidential nominee — 85 percent to Trump’s 76 percent — and actually has a slight lead over McGinty in the Philadelphia suburbs, 48 percent to 45 percent.

The poll surveyed 824 likely voters, randomly selected off lists of registered voters. The margin of error is plus or minus 3.4 percentage points.