code: def testSparsityMbyNMaskingSimpleRaises(self, weights_shape):
      weights_ts = tf.ones(weights_shape)
  
      with self.assertRaises(ValueError):
          self._sparsity_m_by_n_masking(weights_ts)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.keras import compat
  from tensorflow_model_optimization.python.core.sparsity.keras import pruning_impl
  from tensorflow_model_optimization.python.core.sparsity.keras import pruning_schedule
label_desc: Use image node_id 13 for calling the PruningTest obj's underlying member method code with example usage: obj.testSparsityMbyNMaskingSimpleRaises(weights_shape) without return types