code: def test_conditional_variance(
      equivalent_likelihoods: EquivalentLikelihoods,
  ) -> None:
      (
          homoskedastic_likelihood,
          heteroskedastic_likelihood,
      ) = equivalent_likelihoods
      np.testing.assert_allclose(
          homoskedastic_likelihood.conditional_variance(
              Data.X, Data.f_mean
          ),
          heteroskedastic_likelihood.conditional_variance(
              Data.X, Data.F2_mean
          ),
      )
  
file_path: GPflow/tests/gpflow/likelihoods/test_heteroskedastic_constant_variance.py
imports: from typing import Tuple, Type
  import numpy
  import pytest
  import tensorflow
  import tensorflow_probability
  from _pytest.fixtures import SubRequest
  from check_shapes import ShapeChecker
  import gpflow
  from gpflow.base import AnyNDArray, TensorType
  from gpflow.likelihoods import HeteroskedasticTFPConditional
label_desc: Use image node_id 7 for calling a global function with example usage: test_conditional_variance(equivalent_likelihoods) without return types