This is indeed necessary.  Without it, `assert not (f1 != f2)` test fails even though `assert f1 == f2` passes.