code: def test_nd_without_walkers(seed=1234, ndim=3, N=10000):
      x = get_chain(seed=seed, ndim=ndim, N=N)
      tau1 = integrated_time(x[:, np.newaxis])
      tau2 = integrated_time(x, has_walkers=False)
      assert np.allclose(tau1, tau2)
  
file_path: emcee/src/emcee/tests/unit/test_autocorr.py
imports: import numpy
  import pytest
  from emcee.autocorr import AutocorrError, integrated_time
label_desc: Use image node_id 4 for calling a global function with example usage: test_nd_without_walkers(seed, ndim, N) without return types