code: def test_standardize_lag_order_ndarray_bool():
      assert_equal(standardize_lag_order(np.array([0])), 0)
      assert_equal(standardize_lag_order(np.array([1])), 1)
      assert_equal(standardize_lag_order(np.array([0, 1])), [2])
      assert_equal(
          standardize_lag_order(np.array([0, 1, 0, 1])), [2, 4]
      )
  
file_path: statsmodels/statsmodels/tsa/arima/tests/test_tools.py
imports: import numpy
  from numpy.testing import assert_equal, assert_raises
  from statsmodels.tsa.arima.tools import standardize_lag_order, validate_basic
label_desc: Use image node_id 7 for calling a global function with example usage: test_standardize_lag_order_ndarray_bool() without return types