code: def test_plausible_finfo():
      # Assert that finfo returns reasonable results for all types
      for ftype in (
          np._core.sctypes["float"] + np._core.sctypes["complex"]
      ):
          info = np.finfo(ftype)
          assert_(info.nmant > 1)
          assert_(info.minexp < -1)
          assert_(info.maxexp > 1)
  
imports: import warnings
  import numpy
  import pytest
  from numpy._core import finfo, iinfo
  from numpy import half, single, double, longdouble
  from numpy.testing import assert_equal, assert_, assert_raises
  from numpy._core.getlimits import _discovered_machar, _float_ma
label_desc: Use image node_id 7 for calling a global function with example usage: test_plausible_finfo() without return types