code: def testMakePrunableWorksOnKerasNonPrunableLayer(self):
      layer = layers.Dropout(0.5)
      with self.assertRaises(AttributeError):
          layer.get_prunable_weights()
  
      PruneRegistry.make_prunable(layer)
  
      self.assertEqual([], layer.get_prunable_weights())
  
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 7 for calling the PruneRegistryTest obj's underlying member method code with example usage: obj.testMakePrunableWorksOnKerasNonPrunableLayer() without return types