code: def test_1d():
      """Check 1d array, BadInputError raised"""
      arr = np.array([np.nan, 2])
      with pytest.raises(error.BadInputError) as excinfo:
          some_fn(arr)
      assert (
          str(excinfo.value)
          == "No support for arrays that aren't 2D yet."
      )
  
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 7 for calling a global function with example usage: test_1d() without return types