TST/CLN: remove class method in TestEvalPython