code: def test_parameters_set_vary_with_expr(parameters):
      """Test the Parameter.set() function with vary in presence of expr."""
      pars, init_attr_values_A, _ = parameters
  
      pars["b"].set(vary=True)  # expression should get cleared
      pars.update_constraints()  # update constraints/expressions
      changed_attr_values_B = (
          "b",
          20.0,
          True,
          -250.0,
          250.0,
          None,
          25.0,
          2.5,
      )
      assert_parameter_attributes(pars["a"], init_attr_values_A)
      assert_parameter_attributes(pars["b"], changed_attr_values_B)
  
imports: from math import trunc
  import pickle
  import numpy
  from numpy.testing import assert_allclose
  import pytest
  import lmfit
label_desc: Use image node_id 13 for calling a global function with example usage: test_parameters_set_vary_with_expr(parameters) without return types