code: def test_fail_on_order(dtype, input_type, order, order_check):
      # this is tested only for non cudf dataframe or numpy arrays
      # those are converted form order by their respective libraries
      input_data, real_data = get_input(
          input_type, 10, 10, dtype, order=order
      )
  
      if input_type == "cupy" and input_data is None:
          pytest.skip("cupy not installed")
  
      if order == order_check:
          input_to_cuml_array(
              input_data, fail_on_order=False, order=order
          )
      else:
          with pytest.raises(ValueError):
              input_to_cuml_array(
                  input_data, fail_on_order=True, order=order_check
              )
  
imports: from pandas import Series
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals.input_utils import convert_dtype
  from cuml.common import has_cupy
  from cuml.internals.input_utils import input_to_cupy_array
  from cuml.common import input_to_host_array
  from cuml.common import input_to_cuml_array, CumlArray
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 2 for calling a global function with example usage: test_fail_on_order(dtype, input_type, order, order_check) without return types