code: def test_mice_scipy():
      df = load_mice()
      results = npmle(
          df["l"], df["u"], verbose=True, fit_method="scipy"
      )
      npt.assert_allclose(results[0][0], 1 - 0.8571429, rtol=1e-4)
      npt.assert_allclose(results[0][-1], 0.166667, rtol=1e-4)
  
file_path: lifelines/lifelines/tests/test_npmle.py
imports: import pytest
  from lifelines.fitters.npmle import npmle, is_subset, create_turnbull_intervals, interval, reconstruct_survival_function
  from numpy import testing
  from lifelines.datasets import load_mice
  from lifelines import KaplanMeierFitter
  import numpy
  import pandas
label_desc: Use image node_id 8 for calling a global function with example usage: test_mice_scipy() without return types