code: def test_TypeError_when_order_is_not_int_when_initialization():
      """
      Raise TypeError if order is not an integer when initializing the differentiator.
      """
      order = 1.5
  
      err_msg = re.escape(
          (
              f"Parameter 'order' must be an integer. "
              f"Found {type(order)}."
          )
      )
      with pytest.raises(TypeError, match=err_msg):
          TimeSeriesDifferentiator(order=order)
  
imports: import re
  import pytest
  from skforecast.preprocessing import TimeSeriesDifferentiator
label_desc: Use image node_id 1 for calling a global function with example usage: test_TypeError_when_order_is_not_int_when_initialization() without return types