TST: Fix test_eval.py

Fixes typos found in #GH 6069.  Does not change the tests to ensure those branches are exercised.