code: def test_raise_default_in_init():
      def init_params(x, *, settings=1.0, params=None):
          return settings
  
      expected_error = "The init_params function init_params must not have default values, as they are inherited from the operator function test_operator. The init_params function has the following default values: {'settings': 1.0, 'params': None}"
  
      with pytest.raises(SignatureError, match=expected_error):
  
          @operator(init_params=init_params)
          def test_operator(
              x: Continuous, *, settings=1.0, params=None
          ):
              return x
  
file_path: jaxdf/tests/test_core.py
imports: import jax
  import numpy
  import pytest
  from jax import jit
  from jax import numpy
  from jaxdf import *
  from jaxdf.signatures import SignatureError
label_desc: Use image node_id 13 for calling a global function with example usage: test_raise_default_in_init() and returns: settings, x