code: def test_init_raises_without_lr_or_momentum(self):
      with self.assertRaises(ValueError):
          Phase(lr=None, momentum=None)
      with self.assertRaises(ValueError):
          Phase()
  
imports: import unittest
  from poutyne import OptimizerPolicy, Phase, cosinespace, linspace, one_cycle_phases, sgdr_phases
label_desc: Use image node_id 1 for calling the TestPhase obj's underlying member method code with example usage: obj.test_init_raises_without_lr_or_momentum() without return types