code: def test_discretization_deprecation_warning():
      with pytest.warns(
          DeprecationWarning,
          match="jaxdf.discretization is deprecated since the discretization API has been moved to equinox. You don't need this decorator anymore. It iwll now simply act as a pass-through.",
      ):
  
          @discretization
          class MyField(Field):
              pass
  
imports: import logging
  import pytest
  from jaxdf.core import Field, debug_config, discretization, logger
label_desc: Use image node_id 2 for calling a global function with example usage: test_discretization_deprecation_warning() without return types