code: def assert_close(a, b, eps):
      assert np.allclose(a, b, rtol=0.01, atol=eps), (list(a), list(b))
  
imports: import io
  import os
  import pytest
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  import patsy
  from statsmodels.api import families
  from statsmodels.tools.sm_exceptions import ValueWarning
  from statsmodels.othermod.betareg import BetaModel
  from .results import results_betareg
label_desc: Use image node_id 2 for calling a global function with example usage: assert_close(a, b, eps) without return types