code: def find_comma_decimal_point_locale():
      """See if platform has a decimal point as comma locale.
  
      Find a locale that uses a comma instead of a period as the
      decimal point.
  
      Returns
      -------
      old_locale: str
          Locale when the function was called.
      new_locale: {str, None)
          First French locale found, None if none found.
  
      """
      if sys.platform == "win32":
          locales = ["FRENCH"]
      else:
          locales = ["fr_FR", "fr_FR.UTF-8", "fi_FI", "fi_FI.UTF-8"]
  
      old_locale = locale.getlocale(locale.LC_NUMERIC)
      new_locale = None
      try:
          for loc in locales:
              try:
                  locale.setlocale(locale.LC_NUMERIC, loc)
                  new_locale = loc
                  break
              except locale.Error:
                  pass
      finally:
          locale.setlocale(locale.LC_NUMERIC, locale=old_locale)
      return old_locale, new_locale
  
file_path: numpy/numpy/_core/tests/_locales.py
imports: import sys
  import locale
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: find_comma_decimal_point_locale() and returns: old_locale,  new_locale