code: def testAssertions(self):
      np.random.seed(23)
      fx = np.random.random(1000)
      fy = np.array([1.0] * 1000)
  
      with self.assertRaises(AssertionError):
          _MI([], [fy], [False], [False])
  
      with self.assertRaises(AssertionError):
          _MI([fx], [], [False], [False])
  
      with self.assertRaises(AssertionError):
          _MI(fx, [fy], [False], [False])
  
      with self.assertRaises(AssertionError):
          _MI([fx], [fy], [False] * 2, [False])
  
      with self.assertRaises(AssertionError):
          _MI([fx], [fy], [False], [False], output_each="False")
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_data_validation.utils import mutual_information_util
label_desc: Use image node_id 9 for calling the RanklabMutualInformationTest obj's underlying member method code with example usage: obj.testAssertions() without return types