Trac #34926: Fix tests with giac>=1.9.0.35
A warning `argument is not an equation` has been removed in 1.9.0.35,
which breaks a few tests.
URL: https://trac.sagemath.org/34926
Reported by: arojas
Ticket author(s): Antonio Rojas
Reviewer(s): Matthias Koeppe