code: def test__flag_jumps_single_col_percentage_scale_any_direction(
      timeseries_dataframe, col, expected
  ):
      """
      Test utility function for flagging jumps with percentage scale and
      a 10% jump. Here, the any direction is provided so should flag
      everything.
      """
      # Setup
      df = timeseries_dataframe
  
      # Exercise
      result = _flag_jumps_single_col(
          df, col, scale="percentage", direction="any", threshold=0.10
      )
  
      # Verify
      np.testing.assert_array_equal(result.array, expected)
  
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 11 for calling a global function with example usage: test__flag_jumps_single_col_percentage_scale_any_direction(timeseries_dataframe, col, expected) without return types