§ y<ˆjž ã óH — d Z ddlZddlZddlZdgZd„ Z G d„ d¦ « ZdS )z,Provide class for testing in French locale é NÚCommaDecimalPointLocalec ó‚ — 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. Úwin32ÚFRENCH)Úfr_FRzfr_FR.UTF-8Úfi_FIzfi_FI.UTF-8N©Úlocale)ÚsysÚplatformr Ú getlocaleÚ LC_NUMERICÚ setlocaleÚError)ÚlocalesÚ old_localeÚ new_localeÚlocs úm/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/numpy/core/tests/_locales.pyÚfind_comma_decimal_point_localer sà € õ „|�wÒÐØ�*ˆˆàBÐBÐBˆåÔ!¥&Ô"3Ñ4Ô4€JØ€Jð ?Øð ð ˆCð ÝÔ ¥Ô!2°CÑ8Ô8Ð8Ø � Ø�øÝ”<ð ð ð Ø�ð øøøõ Ô�Ô*°:Ð>Ñ>Ô>Ð>Ð>ø�Ô�Ô*°:Ð>Ñ>Ô>Ð>Ð>øøøØ�zÐ!Ð!s. ºB ¿!A"Á B Á"A4Á1B Á3A4Á4B Â"B:c óD — e Zd ZdZ e¦ « \ ZZd„ Zd„ Zd„ Z d„ Z dS )r aÕ Sets LC_NUMERIC to a locale with comma as decimal point. Classes derived from this class have setup and teardown methods that run tests with locale.LC_NUMERIC set to a locale where commas (',') are used as the decimal point instead of periods ('.'). On exit the locale is restored to the initial locale. It also serves as context manager with the same effect. If no such locale is available, the test is skipped. .. versionadded:: 1.15.0 c ó† — | j €t j d¦ « t j t j | j ¬¦ « d S ©NzNo French locale availabler ©Ú tst_localeÚpytestÚskipr r r ©Úselfs r Úsetup_methodz$CommaDecimalPointLocale.setup_method<