code: def testMismatchedFloatTypesAreBad(self):
      with self.assertRaises(TypeError):
          rational_quadratic.RationalQuadratic(
              np.float32(1.0), np.float64(1.0)
          )
  
file_path: probability/tensorflow_probability/python/math/psd_kernels/rational_quadratic_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math.psd_kernels import rational_quadratic
label_desc: Use image node_id 2 for calling the RationalQuadraticTest obj's underlying member method code with example usage: obj.testMismatchedFloatTypesAreBad() without return types