Elizabeth Warren doesn't necessarily speak for the Democratic Party on issues relating to Wall Street, House Minority Leader Nancy Pelosi said in an interview published Wednesday.

In an interview with CNBC, the San Francisco Democrat defended President Obama from accusations from the Left that he is too easy on banks, and suggested that there is not a consensus in the Democratic Party on matters pertaining to finance.

Asked if the Obama administration has been too close to banks, Pelosi responded that "the financial industry doesn't agree with that."

"There may have been a couple of people who say that, but that is not the consensus in our party," she added.

Pelosi distanced her party from Warren's viewpoint even though she has stood with the Massachusetts senator against the White House during a few recent high-profile legislative clashes.

Pelosi joined Warren against the administration in December in opposing legislation to fund the government in an effort to strip out a provision rolling back a measure included in the 2010 Dodd-Frank financial reform law.

More recently, the minority leader opposed trade-related legislation that Obama had pushed hard, siding with liberals like Warren critical of certain provisions in the prospective trade agreement that they say would favor businesses over workers. Pelosi eventually relented, allowing the bill to pass.

"We don't want an exploitation of workers in international agreements," Pelosi said in the interview published Wednesday.

Since taking office in 2013, Warren has sought out confrontations with Republicans and the Obama White House alike, providing a rallying point for liberals against legislation and helping to scuttle at least two nominees considered by the administration for regulatory posts.

In recent months, she has tried to put pressure on candidates running for president to stake out liberal positions on Social Security, the minimum wage, student debt relief and other similar populist issues.