code: def test_sample_data(sample_data):
      y_true, y_pred = sample_data
      assert isinstance(y_true, (pd.Series, pd.DataFrame))
      assert isinstance(y_pred, pd.DataFrame)
  
file_path: sktime/sktime/performance_metrics/forecasting/probabilistic/tests/test_probabilistic_metrics.py
imports: import warnings
  import numpy
  import pandas
  import pytest
  from sktime.performance_metrics.forecasting.probabilistic import ConstraintViolation, EmpiricalCoverage, PinballLoss
  from sktime.split import temporal_train_test_split
  from sktime.utils._testing.series import _make_series
label_desc: Use image node_id 2 for calling a global function with example usage: test_sample_data(sample_data) without return types