code: def test_exceptions(self):
      with self.assertRaises(ValueError):
          # Don't have learning rate
          algorithms.QuasiNewton(
              layers.Input(2) > layers.Sigmoid(3) > layers.Sigmoid(1),
              step=0.3,
          )
  
imports: from functools import partial
  from collections import namedtuple
  import numpy
  from sklearn import metrics
  from neupy.utils import asfloat
  from neupy import algorithms, layers, init
  from neupy.algorithms.gd import quasi_newton
  from helpers import simple_classification
  from base import BaseTestCase
label_desc: Use image node_id 1 for calling the QuasiNewtonTestCase obj's underlying member method code with example usage: obj.test_exceptions() without return types