Replace bare assert x == y with assert_equal(x, y) across functional test files for better failure diagnostics.
Split into two commits per review feedback from @l0rinc:
-
Manual commit (17 conversions, 14 files): Handles cases requiring new imports (6 files) or complex formatting (spaces in operands, inline comments, list/bytes literals).
-
Scripted-diff commit (72 conversions, 25 files): Simple
\S+regex matches only single-token operands — no risk of mishandling compound expressions, messages, or comments.
Lines with assertion messages, and/or compound conditions, and comprehensions are intentionally left unchanged.
Consolidates the approach from #34752 and #34753 per feedback from @l0rinc.