The alternative here would have been to let the far-right win.
The issue isn’t that the left did cooperate with liberals to prevent fascism. That’s wholly laudable. One simply shouldn’t expect one’s enemies to be anything except temporary allies against worse foes (and I’m not accusing the French left of naivety here, mind, they probably understood and are prepared for this scenario).