code: def test_infinite_iterations_store(backend, nwalkers=32, ndim=3):
      with backend() as be:
          coords = np.random.randn(nwalkers, ndim)
          with pytest.raises(ValueError):
              next(
                  EnsembleSampler(
                      nwalkers, ndim, normal_log_prob, backend=be
                  ).sample(coords, iterations=None, store=True)
              )
  
imports: import pickle
  from itertools import islice, product
  import numpy
  import pytest
  from emcee import EnsembleSampler, backends, moves, walkers_independent
label_desc: Use image node_id 19 for calling a global function with example usage: test_infinite_iterations_store(backend, nwalkers, ndim) without return types