hyb
2025-12-23 10f3a1daddfbc7fa3dd2069197d83e8b6ef19176
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Ë
KñúhÈãó@—dZddlZddlZddlZdgZd„ZGd„d«Zy)z,Provide class for testing in French locale
 
éNÚCommaDecimalPointLocalecóº—tjdk(rdg}ngd¢}tjtj«}d}    |D]*}    tj
tj|«|}ntj
tj|¬«||fS#tj $rYŒkwxYw#tj
tj|¬«wxYw)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    úMH:\Change_password\venv_build\Lib\site-packages\numpy/_core/tests/_locales.pyÚfind_comma_decimal_point_localer s€ô ‡||wÒØ*‰âBˆä×!Ñ!¤&×"3Ñ"3Ó4€JØ€Jð    ?Øò    ˆCð Ü× Ñ ¤×!2Ñ!2°CÔ8Ø 
Ùð        ô    ×Ñœ×*Ñ*°:Õ>Ø zÐ !Ð!øô    —<‘<ò Ùð ûô    ×Ñœ×*Ñ*°:Ö>ús0ÁB3Á&BÁ.B3ÂB0Â-B3Â/B0Â0B3Â3'Ccó<—eZdZdZe«\ZZd„Zd„Zd„Z    d„Z
y)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.
 
    có¤—|j€tjd«tjtj
|j¬«y©NzNo French locale availabler    ©Ú
tst_localeÚpytestÚskipr
rr©Úselfs rÚ setup_methodz$CommaDecimalPointLocale.setup_method:ó3€Ø ?‰?Ð "Ü K‰KÐ4Ô 5Ü×Ñœ×*Ñ*°4·?±?ÖCócób—tjtj|j¬«y©Nr    ©r
rrÚ
cur_localers rÚteardown_methodz'CommaDecimalPointLocale.teardown_method?ó€Ü×Ñœ×*Ñ*°4·?±?ÖCr"có¤—|j€tjd«tjtj
|j¬«yrrrs rÚ    __enter__z!CommaDecimalPointLocale.__enter__Br!r"cób—tjtj|j¬«yr$r%)rÚtypeÚvalueÚ    tracebacks    rÚ__exit__z CommaDecimalPointLocale.__exit__Gr(r"N) Ú__name__Ú
__module__Ú __qualname__Ú__doc__rr&rr r'r*r/©r"rrr.s.„ññ ?Ó@Ñ€ZòDò
DòDó
Dr")r3r
r rÚ__ALL__rrr4r"rú<module>r6s/ðñóÛ
ã à $Ð
%€ò"÷DDòDr"