That was a direct quote about the labour party by a member of the labour party, so that is factual reporting.
> Diane Abbott, an ally of Sir Keir Starmer's predecessor Jeremy Corbyn, tweeted: "Crushing defeat for Labour in Hartlepool. Not possible to blame Jeremy Corbyn for this result. Labour won the seat twice under his leadership. Keir Starmer must think again about his strategy."
Granted though they've toned down the headline of the article to "Elections 2021: Conservatives hail historic Labour defeat in Hartlepool by-election"