code: def test_flag_jumps_raises_error_for_strict_no_arg_dicts(
      timeseries_dataframe,
  ):
      """
      Test that an error is raised when `strict=True`
      and no input arguments are of type dict.
      """
      # Setup
      df = timeseries_dataframe
  
      # Exercise
      expected_error_msg = (
          "When enacting 'strict=True', 'scale', 'direction', "
          + "or 'threshold' must be a dictionary."
      )
  
      # Exercise
      with pytest.raises(JanitorError) as error_info:
          df.flag_jumps(
              scale="absolute",
              direction="any",
              threshold=0,
              strict=True,
          )
  
      # Verify
      assert str(error_info.value) == expected_error_msg
  
imports: import numpy
  import pandas
  import pytest
  import janitor.timeseries
  from janitor.errors import JanitorError
  from janitor.timeseries import _flag_jumps_single_col
label_desc: Use image node_id 13 for calling a global function with example usage: test_flag_jumps_raises_error_for_strict_no_arg_dicts(timeseries_dataframe) without return types