code: def test_cmac_training_exceptions(self):
      cmac = algorithms.CMAC(
          quantization=100,
          associative_unit_size=32,
          step=0.2,
      )
  
      with self.assertRaises(ValueError):
          cmac.train(
              X_train=True, y_train=True, X_test=None, y_test=True
          )
  
file_path: neupy/tests/algorithms/memory/test_cmac.py
imports: import numpy
  from sklearn import metrics
  from neupy import algorithms
  from base import BaseTestCase
label_desc: Use image node_id 5 for calling the CMACTestCase obj's underlying member method code with example usage: obj.test_cmac_training_exceptions() without return types