code: def test_ocsb_test_statistic(lag_method, expected, max_lag):
      test = OCSBTest(m=4, max_lag=max_lag, lag_method=lag_method)
      test_stat = test._compute_test_statistic(austres)
      assert np.allclose(test_stat, expected, rtol=0.01)
  
imports: from pmdarima.arima.seasonality import CHTest, decompose, OCSBTest
  from pmdarima.arima.utils import nsdiffs
  from pmdarima.compat.pytest import pytest_error_str
  from pmdarima.datasets import load_airpassengers, load_ausbeer, load_austres, load_wineind
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from sklearn.utils.validation import check_random_state
  import pytest
  from unittest import mock
label_desc: Use image node_id 11 for calling a global function with example usage: test_ocsb_test_statistic(lag_method, expected, max_lag) without return types