§ y<ˆjžãóH—dZddlZddlZddlZdgZd„ZGd„d¦«ZdS)z,Provide class for testing in French locale éNÚCommaDecimalPointLocalecó‚—tjdkrdg}ngd¢}tjtj¦«}d} |D]:} tjtj|¦«|}n#tj$rYŒ7wxYwtjtj|¬¦«n%#tjtj|¬¦«wxYw||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_FRz fr_FR.UTF-8Úfi_FIz fi_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—eZdZdZe¦«\ZZd„Zd„Zd„Z d„Z dS)raÕ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€tjd¦«tjtj|j¬¦«dS©NzNo French locale availabler ©Ú tst_localeÚpytestÚskipr rr©Úselfs rÚ setup_methodz$CommaDecimalPointLocale.setup_method<ó<€Ø Œ?Ð "Ý ŒKÐ4Ñ 5Ô 5Ð 5ÝÔ�Ô*°4´?ÐCÑCÔCÐCÐCÐCócóP—tjtj|j¬¦«dS©Nr ©r rrÚ cur_localers rÚteardown_methodz'CommaDecimalPointLocale.teardown_methodAó#€ÝÔ�Ô*°4´?ÐCÑCÔCÐCÐCÐCr"có†—|j€tjd¦«tjtj|j¬¦«dSrrrs rÚ __enter__z!CommaDecimalPointLocale.__enter__Dr!r"cóP—tjtj|j¬¦«dSr$r%)rÚtypeÚvalueÚ tracebacks rÚ__exit__z CommaDecimalPointLocale.__exit__Ir(r"N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rr&rr r'r*r/©r"rrr.s}€€€€€ð ð ð ?Ð>Ñ@Ô@Ñ€Z�ðDðDðDð DðDðDðDðDðDð DðDðDðDðDr")r3r r rÚ__ALL__rrr4r"rúr6s€ðððð € € € Ø € € € à € € € à $Ð %€ð"ð"ð"ðDDðDðDðDðDñDôDðDðDðDr"