code: def test_float_like(floating):
      assert isinstance(float_like(floating, "floating"), float)
      assert isinstance(
          float_like(floating, "floating", optional=True), float
      )
      assert float_like(None, "floating", optional=True) is None
      if isinstance(floating, (int, np.integer, float, np.inexact)):
          assert isinstance(
              float_like(floating, "floating", strict=True), float
          )
          assert (
              float_like(None, "floating", optional=True, strict=True)
              is None
          )
  
imports: from collections import OrderedDict
  import numpy
  import pandas
  import pytest
  from statsmodels.tools.validation import array_like, PandasWrapper, bool_like, dict_like, float_like, int_like, string_like
  from statsmodels.tools.validation.validation import _right_squeeze
label_desc: Use image node_id 14 for calling a global function with example usage: test_float_like(floating) without return types