code: def test_ln_funcs_for_infinity(self):
      # after dropping Python 3.5 support use underscore 1_000_000
      ary = np.ones(10)
      ary[1] = -1
      assert np.isinf(emcee_lnprior(ary))
      assert np.isinf(emcee_lnprob(ary, ary[2:], ary[2:])[0])
  
imports: import os
  import numpy
  import pytest
  from ...None import from_emcee
  from ..helpers import _emcee_lnprior
  from ..helpers import _emcee_lnprob
  from ..helpers import chains, check_multiple_attrs, draws, eight_schools_params, importorskip, load_cached_models, needs_emcee3_func
label_desc: Use image node_id 12 for calling the TestDataEmcee obj's underlying member method code with example usage: obj.test_ln_funcs_for_infinity() without return types