code: def test_adf_p_value():
      # Assert on the ADF test's p-value
      p_val, do_diff = ADFTest(alpha=0.05).should_diff(
          np.array([1, -1, 0, 2, -1, -2, 3])
      )
  
      assert np.isclose(p_val, 0.01)
      assert not do_diff
  
file_path: pmdarima/pmdarima/arima/tests/test_stationarity.py
imports: from pmdarima.arima.stationarity import ADFTest, PPTest, KPSSTest
  from pmdarima.arima.utils import ndiffs
  from pmdarima.utils.array import diff
  from pmdarima.datasets import load_austres
  from sklearn.utils import check_random_state
  from numpy.testing import assert_array_almost_equal, assert_almost_equal, assert_array_equal
  import numpy
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_adf_p_value() without return types