code: def test_relative_risk_ci_edge_cases_01():
      result = relative_risk(
          exposed_cases=0,
          exposed_total=12,
          control_cases=1,
          control_total=30,
      )
      assert_equal(result.relative_risk, 0)
      ci = result.confidence_interval()
      assert_equal((ci.low, ci.high), (0.0, np.nan))
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_relative_risk.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  from scipy.stats.contingency import relative_risk
label_desc: Use image node_id 6 for calling a global function with example usage: test_relative_risk_ci_edge_cases_01() without return types