def substitute(self, expression: sympy.Expr, substitutions: dict): with self.assertWarns(FutureWarning): return substitute_with_eval(expression, substitutions)
def substitute(self, expression: sympy.Expr, substitutions: dict): return substitute_with_eval(expression, substitutions)