code: def testMakePrunableRaisesErrorForCustomLayerInheritedFromPrunableLayer(
      self,
  ):
      with self.assertRaises(ValueError):
          PruneRegistry.make_prunable(CustomLayerFromPrunableLayer(10))
  
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow_model_optimization.python.core.sparsity.keras import prunable_layer
  from tensorflow_model_optimization.python.core.sparsity.keras import prune_registry
label_desc: Use image node_id 5 for calling the PruneRegistryTest obj's underlying member method code with example usage: obj.testMakePrunableRaisesErrorForCustomLayerInheritedFromPrunableLayer() without return types