Problem
Plain assert x == y is a poor fit for this test framework, assert_equal() gives more useful failure output and keeps equality checks consistent with the rest of the functional tests.
Design
A simple scripted diff cannot safely rewrite all of them because many files use == inside larger expressions, such as chained conditions, comprehensions, and other compound assertions. That makes a one-shot mechanical conversion either incorrect or harder to review.
Fix
Nerd-sniped by #34761, this series first rewrites the non-mechanical cases into simpler assertions so they stand on their own and failures are easier to identify, converging on a simple scripted diff that is straightforward to verify.
The stack is structured so the manual cleanup comes first, the import-only setup comes immediately before it, and the final commit only touches the cases that are safe to rewrite mechanically.