code: def test_min_pos_no_positive(dtype):
      # Check that the return value of min_pos is the maximum representable
      # value of the input dtype when all input elements are <= 0 (#19328)
      X = np.full(100, -1.0).astype(dtype, copy=False)
  
      assert min_pos(X) == np.finfo(dtype).max
  
imports: import numpy
  import pytest
  from sklearn.utils._testing import assert_allclose
  from sklearn.utils.arrayfuncs import _all_with_any_reduction_axis_1, min_pos
label_desc: Use image node_id 2 for calling a global function with example usage: test_min_pos_no_positive(dtype) without return types