code: def _get_data_for_tests() -> (
      Tuple[AnyNDArray, AnyNDArray, AnyNDArray]
  ):
      """Helper function to create testing data"""
      X = np.random.randn(5, 6)
      Y = np.random.randn(5, 2)
      X_new = np.random.randn(3, 10, 5, 6)
      return X, X_new, Y
  
file_path: GPflow/tests/gpflow/models/test_gpr_posterior.py
imports: from typing import Tuple
  import numpy
  import pytest
  from check_shapes import check_shapes
  import gpflow
  from gpflow.base import AnyNDArray
  from gpflow.models.gpr import GPR_deprecated, GPR_with_posterior
  from gpflow.posteriors import PrecomputeCacheType
label_desc: Use image node_id 2 for calling a global function with example usage: _get_data_for_tests() and returns: X,  X_new,  Y