code: def test_correct_input():
      """Test that an array that should satisfy all checks, no BadInputError should be raised"""
      # Integer np.ndarray (check: `_is_ndarray`, `_shape_2d`, `_nan_exists`)
      arr = np.array([[np.nan, 2], [3, 4]])
      # Cast integer array to float (check: `_dtype_float`)
      arr.dtype = np.float
      try:
          some_fn(arr)
      except error.BadInputError:
          assert False
  
imports: import pytest
  import numpy
  from impyute.imputation.cs import mean
  from impyute.ops import error
  from impyute.ops import wrapper
label_desc: Use image node_id 6 for calling a global function with example usage: test_correct_input() without return types