code: def test_phase_with_only_one_parameter_set(self):
      for param_name in ["lr", "momentum"]:
          steps = 3
          phase = Phase(**{param_name: linspace(1, 0, steps)})
          for params in phase:
              self.assertIsInstance(params, dict)
              self.assertTrue(param_name in params)
              self.assertEqual(len(params), 1)
              self.assertTrue(0 <= params[param_name] <= 1)
  
imports: import unittest
  from poutyne import OptimizerPolicy, Phase, cosinespace, linspace, one_cycle_phases, sgdr_phases
label_desc: Use image node_id 2 for calling the TestPhase obj's underlying member method code with example usage: obj.test_phase_with_only_one_parameter_set() without return types