ce7>c H d Z ddlZddlZddlZdgZd Z G d d ZdS )z,Provide class for testing in French locale NCommaDecimalPointLocalec t j dk rdg} ng d} t j t j }d} | D ]:} t j t j | |} n# t j $ r Y 7w xY wt j t j | n%# t j t j | w xY w||fS )a: 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. win32FRENCH)fr_FRzfr_FR.UTF-8fi_FIzfi_FI.UTF-8Nlocale)sysplatformr getlocale LC_NUMERIC setlocaleError)locales old_locale new_localelocs m/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/core/tests/_locales.pyfind_comma_decimal_point_localer s |w*BBB!&"344JJ ? C !2C888 <