code: def test_conform_output_valid():
      """No coerce_fn with valid_fn will raise BadOutputeError if invalid values
      encountered. First invalid value is 1.1
      """
      arr = np.array([[1.1, 0.5], [0.2, -1]])
      with pytest.raises(error.BadOutputError) as excinfo:
          conform_output_dummy(arr, valid_fn=is_between_0_1)
      assert str(excinfo.value) == "1.1 does not conform"
  
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 16 for calling a global function with example usage: test_conform_output_valid() without return types