code: def test_StatisticalResult_kwargs():
      sr = stats.StatisticalResult(
          0.05, 5.0, kw="some_value", test_name="test"
      )
      assert hasattr(sr, "kw")
      assert getattr(sr, "kw") == "some_value"
      assert "some_value" in sr.to_ascii(2)
  
imports: import numpy
  import pandas
  import numpy.testing
  import pytest
  from pandas.testing import assert_frame_equal
  from lifelines import statistics
  from lifelines import CoxPHFitter, KaplanMeierFitter, WeibullFitter
  from lifelines.exceptions import StatisticalWarning
  from lifelines.datasets import load_waltons, load_g3, load_lymphoma, load_dd, load_regression_dataset, load_leukemia
label_desc: Use image node_id 26 for calling a global function with example usage: test_StatisticalResult_kwargs() without return types