code: def test_check_trace(trace, expected):
      res = val.check_trace(trace)
      assert expected == res
  
file_path: pmdarima/pmdarima/arima/tests/test_validation.py
imports: import numpy
  import pytest
  from pmdarima.compat.pytest import pytest_warning_messages, pytest_error_str
  from pmdarima.arima import _validation
  from pmdarima.warnings import ModelFitWarning
label_desc: Use image node_id 6 for calling a global function with example usage: test_check_trace(trace, expected) without return types