code: def test_parameter_set_vary(parameter):
      """Test the Parameter.set() function with vary."""
      par, initial_attribute_values = parameter
  
      par.set(vary=None)  # nothing should change
      assert_parameter_attributes(par, initial_attribute_values)
  
      par.set(vary=False)
      changed_attribute_values = (
          "a",
          10.0,
          False,
          -100.0,
          100.0,
          None,
          5.0,
          1,
      )
      assert_parameter_attributes(par, changed_attribute_values)
  
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 8 for calling a global function with example usage: test_parameter_set_vary(parameter) without return types