code: def test_sanity_check_example(self):
      class Model:
          def _sanity_check(self, *args, **kwargs):
              if kwargs["b"] != kwargs["c"]:
                  raise (ValueError("b and c must be equal"))
  
          @_with_sanity_checks("_sanity_check")
          def fit(self, a, b=0, c=0):
              pass
  
      m = Model()
  
      # b != c should raise error
      with pytest.raises(ValueError):
          m.fit(5, b=3, c=2)
  
      # b == c should not raise error
      m.fit(5, b=2, c=2)
  
file_path: darts/darts/tests/utils/test_utils.py
imports: import numpy
  import pandas
  import pytest
  from darts import TimeSeries
  from darts.utils import _with_sanity_checks, retain_period_common_to_all
  from darts.utils.missing_values import extract_subseries
label_desc: Use image node_id 2 for calling the TestUtils obj's underlying member method code with example usage: obj.test_sanity_check_example() without return types