code: def test_1d(seed=1234, ndim=1, N=250000):
      x = get_chain(seed=seed, ndim=ndim, N=N)
      tau = integrated_time(x)
      assert np.all(np.abs(tau - 19.0) / 19.0 < 0.2)
  
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 2 for calling a global function with example usage: test_1d(seed, ndim, N) without return types