hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
Ë
Kñúh“DãóÌ—dZddlZddlZddlmcmZddlZddlm    Z    ddl
Z ddl m Z mZ    ddlZdZGd„d«ZGd    „d
e«ZGd „d «ZGd „de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«Zej<j?dgd ¢«d!„«Z ej<jCd"«Gd#„d$««Z"Gd%„d&e«Z#Gd'„d(e«Z$Gd)„d*e«Z%Gd+„d,e«Z&Gd-„d.e«Z'Gd/„d0e«Z(Gd1„d2e«Z)Gd3„d4e«Z*y#e$rdZYŒ1wxYw)5z‡
Tests related to deprecation warnings. Also a convenient place
to document how deprecations should eventually be turned into errors.
 
éN)Úfromstring_null_term_c_api)Ú assert_raisesÚtemppathTFcóT—eZdZdZeZd„Zd„Zdddejdifd„Z
difd„Z y    )
Ú_DeprecationTestCaseÚcó—tjd¬«|_|jj«|_tj
d|j ¬«tj
d|j|j ¬«y)NT©ÚrecordÚalways)Úcategory©Úmessager )ÚwarningsÚcatch_warningsÚwarn_ctxÚ    __enter__ÚlogÚfilterwarningsÚ warning_clsr©Úselfs úVH:\Change_password\venv_build\Lib\site-packages\numpy/_core/tests/test_deprecations.pyÚ setup_methodz!_DeprecationTestCase.setup_methods_€Ü ×/Ñ/°tÔ<ˆŒ Ø—=‘=×*Ñ*Ó,ˆŒô    ×Ñ °4×3CÑ3CÕDÜ×Ñ °$·,±,Ø)-×)9Ñ)9ö    ;ócó8—|jj«y©N)rÚ__exit__rs rÚteardown_methodz$_DeprecationTestCase.teardown_method+s€Ø  ‰ ×ÑÕ réF©cóª—d}g|jdd|tjur |jf}|rt    j
t «}    nt    j«}    |    5||i|¤Žddd«d}
|jD]Q} | j|jur|
dz }
Œ!|rŒ$td|jj›d| j›«‚|`|
|k7r[t|j«›d|›d} |jD cgc] } t| «‘Œ}} td    j| g|z««‚tj«5tj d
|j"|j¬ «    ||i|¤Ž|d k7r td «‚    ddd«y#1swYŒ2xYwcc} w#|$r|d k(r td«‚YŒ2wxYw#1swYyxYw)aýTest if DeprecationWarnings are given and raised.
 
        This first checks if the function when called gives `num`
        DeprecationWarnings, after that it tries to raise these
        DeprecationWarnings and compares them with `exceptions`.
        The exceptions can be different for cases where this code path
        is simply not anticipated and the exception is replaced.
 
        Parameters
        ----------
        function : callable
            The function to test
        num : int
            Number of DeprecationWarnings to expect. This should normally be 1.
        ignore_others : bool
            Whether warnings of the wrong type should be ignored (note that
            the message is not checked)
        function_fails : bool
            If the function would normally fail, setting this will check for
            warnings inside a try/except block.
        exceptions : Exception or tuple of Exceptions
            Exception to expect when turning the warnings into an error.
            The default checks for DeprecationWarnings. If exceptions is
            empty the function is expected to run successfully.
        args : tuple
            Arguments for `function`
        kwargs : dict
            Keyword arguments for `function`
        TNrr z    expected z
 but got: z warnings found but z
 expected.ú
Úerrorrr!z$No error raised during function callz!Error raised during function call)rÚnpÚ_NoValuerÚ
contextlibÚsuppressÚ    ExceptionÚ nullcontextr ÚAssertionErrorÚ__name__ÚlenÚstrÚjoinrrrr)rÚfunctionÚnumÚ ignore_othersÚfunction_failsÚ
exceptionsÚargsÚkwargsÚ__tracebackhide__Úcontext_managerÚ    num_foundÚwarningÚmsgÚwÚlsts               rÚassert_deprecatedz&_DeprecationTestCase.assert_deprecated.sò€ðB!Ððˆ‰‘ˆ à œŸ™Ñ $Ø×*Ñ*Ð,ˆJá Ü(×1Ñ1´)Ó<‰Oä(×4Ñ4Ó6ˆOØ ñ    &Ù dÐ %˜fÒ %÷    &ðˆ    Ø—x‘xò    GˆGØ×Ñ 4×#3Ñ#3Ñ3ؘQ‘‘    Ú"Ý$à×)Ñ)×2Ó2°G×4DÒ4DðFóGðGð        Gð ˆ?˜y¨CÒ/ܘŸ™“]OÐ#7¸°u¸JÐGˆCØ#'§8¡8Ö,˜a”3q•6Ð,ˆCÐ,Ü  §¡¨C¨5°3©;Ó!7Ó8Ð 8ä × $Ñ $Ó &ñ     AÜ × #Ñ # G°T·\±\Ø-1×-=Ñ-=õ ?ð AÙ˜$Ð) &Ò)Ø Ò#Ü(ØBóDðDð$÷     Að     A÷#    &ñ    &üò-øðò AØ Ò#Ü(Ø?óAðAñ$ð Aú÷     Að     AúsBÁ#    FÄF)Å -G    Å:F.ÆG    ÆF&Æ.GÇG    ÇGÇG    Ç    Gcó2—|j|ddd||¬«y)zÝTest that warnings are not raised.
 
        This is just a shorthand for:
 
        self.assert_deprecated(function, num=0, ignore_others=True,
                        exceptions=tuple(), args=args, kwargs=kwargs)
        rTr!)r1r2r4r5r6N©r>)rr0r5r6s    rÚassert_not_deprecatedz*_DeprecationTestCase.assert_not_deprecatedys%€ð     ×јx¨Q¸dØ#%¨D¸ð    õ    ArN) r,Ú
__module__Ú __qualname__rÚDeprecationWarningrrrr%r&r>rAr!rrrrsC„ð€GØ$€Kò ;ò!ð/0¸uØ).Ø%'§[¡[Ø!¨"óIAðV46¸bô    Arrcó8—eZdZejj
Zy)Ú_VisibleDeprecationTestCaseN)r,rBrCr%r4ÚVisibleDeprecationWarningrr!rrrFrF…s„Ø—-‘-×9Ñ9KrrFcó—eZdZd„Zy)ÚTestTestDeprecatedcó¸—t«}|j«tt|jd„«d„}|j    |«|j «y)Ncó—yrr!r!rrú<lambda>z;TestTestDeprecated.test_assert_deprecated.<locals>.<lambda>srcó<—tjdtd¬«y)NÚfooé)r Ú
stacklevel)rÚwarnrDr!rrrNz6TestTestDeprecated.test_assert_deprecated.<locals>.foo‘s€Ü M‰M˜%Ô*<ÈÖ Kr)rrrr+r>r)rÚtest_case_instancerNs   rÚtest_assert_deprecatedz)TestTestDeprecated.test_assert_deprecatedŠsO€Ü1Ó3ÐØ×'Ñ'Ô)Ü”nØ(×:Ñ:Ù"ô    $ò    Lð    ×,Ñ,¨SÔ1Ø×*Ñ*Õ,rN)r,rBrCrSr!rrrIrI‰s„ó -rrIcó\—eZdZejj dgd¢gd¢g«d„«Zy)Ú TestBincountÚbadlist)gà?g333333ó?gø?)Ú0Ú1rXcó.‡—|jˆfd„«y)Ncó.•—tj‰«Sr)r%Úbincount)rVs€rrLz5TestBincount.test_bincount_bad_list.<locals>.<lambda>sø€¤r§{¡{°7Ó';€rr@)rrVs `rÚtest_bincount_bad_listz#TestBincount.test_bincount_bad_listšsø€ð     ×ÑÓ;Õ<rN)r,rBrCÚpytestÚmarkÚ parametrizer\r!rrrUrU˜s/„à ‡[[×јYªÚ)8ð):ó;ñ=ó;ñ=rrUcó—eZdZd„Zy)ÚTestGeneratorSumcóh—|jtjd„td«D«f¬«y)Nc3ó K—|]}|–—Œy­wrr!)Ú.0Úis  rú    <genexpr>z6TestGeneratorSum.test_generator_sum.<locals>.<genexpr>£sèø€Ò-B°A¬aÑ-Bùs‚ é©r5)r>r%ÚsumÚrangers rÚtest_generator_sumz#TestGeneratorSum.test_generator_sum¢s&€Ø ×ÑœrŸv™vÑ-B¼¸q»Ô-BÐ,DÐÕErN)r,rBrCrkr!rrrara s„óFrrac óT—eZdZejej
ej gZejejejejejejejejej ej"ej$g Zd„Zd„Zy)ÚBuiltInRoundComplexDTypecóΗ|jD]V}|d«}|jt|f¬«|jt|df¬«|jt|fddi¬«ŒXy©NrrhÚndigits©r5r6)Údeprecated_typesr>Úround©rÚ scalar_typeÚscalars   rÚtest_deprecatedz(BuiltInRoundComplexDType.test_deprecated¯si€Ø×0Ñ0ò    QˆKÙ  “^ˆFØ × "Ñ "¤5°¨yÐ "Ô 9Ø × "Ñ "¤5°¸¨{Ð "Ô ;Ø × "Ñ "¤5°¨yÀ)ÈQÀÐ "Õ Pñ        QrcóΗ|jD]V}|d«}|jt|f¬«|jt|df¬«|jt|fddi¬«ŒXyro)Únot_deprecated_typesrArsrts   rÚtest_not_deprecatedz,BuiltInRoundComplexDType.test_not_deprecated¶sj€Ø×4Ñ4ò    UˆKÙ  “^ˆFØ × &Ñ &¤u°F°9Ð &Ô =Ø × &Ñ &¤u°F¸A°;Ð &Ô ?Ø × &Ñ &¤u°F°9ÀiÐQRÀ^Ð &Õ Tñ        UrN)r,rBrCr%ÚcsingleÚcdoubleÚ clongdoublerrÚint8Úint16Úint32Úint64Úuint8Úuint16Úuint32Úuint64Úfloat16Úfloat32Úfloat64ryrwrzr!rrrmrm¦st„àŸ
™
 B§J¡J°·±Ð?Ðà
‰—‘˜2Ÿ8™8 R§X¡XØ
‰"—)‘)˜RŸY™Y¨¯    ©    Ø

‰
B—J‘J §
¡
ðÐò QóUrrmcó—eZdZdZd„Zd„Zy)ÚFlatteningConcatenateUnsafeCastz7concatenate with `axis=None` will use same-kind castingc    óž—|jtjdgdgffdtjdtj¬«dœ¬«y)Nççð?rO©Údtype)ÚaxisÚoutrq)r>r%Ú concatenateÚemptyrrs rrwz/FlatteningConcatenateUnsafeCast.test_deprecatedÂs@€Ø ×ÑœrŸ~™~ؐt˜b˜Tl_Ø $¬R¯X©X°a¼r¿x¹xÔ-HÑIð    õ    Krc    óf—|jtjdgdgffdtjdtj¬«ddœ¬«t t «5tjdgdgftjdtj¬«d¬    «ddd«y#1swYyxYw)
NrŒrrOrŽÚunsafe)rr‘ÚcastingrqÚ    same_kind)r‘r–)rAr%r’r“rrÚ    TypeErrorrs rrzz3FlatteningConcatenateUnsafeCast.test_not_deprecatedÇs€Ø ×"Ñ"¤2§>¡>ؐt˜b˜Tl_Ø $¬R¯X©X°a¼r¿x¹xÔ-HØ#+ñ-ð    #ô    .ô
œ9Ó %ñ    0ä N‰N˜R˜D 2 $˜<¬R¯X©X°a¼r¿x¹xÔ-HØ#.õ 0÷    0÷    0ñ    0ús ÁAB'Â'B0N)r,rBrCrrwrzr!rrrŠrоs„àG€GòKó
    0rrŠcóî—eZdZeZej dg«jZejjdgd¢«de ddfd„«Z ejjdgd¢«de ddfd„«Z y)    ÚTestCtypesGetterr Úname)Úget_dataÚ    get_shapeÚ get_stridesÚget_as_parameterÚreturnNcóR—t|j|«}|j|«yr)ÚgetattrÚctypesr>)rr›Úfuncs   rrwz TestCtypesGetter.test_deprecatedØs"€ôt—{‘{ DÓ)ˆØ ×јtÕ$r)ÚdataÚshapeÚstridesÚ_as_parameter_có2‡‡—‰jˆˆfd„«y)Ncó0•—t‰j‰«Sr)r¢r£)r›rs€€rrLz6TestCtypesGetter.test_not_deprecated.<locals>.<lambda>ãsø€¬7°4·;±;ÀÓ+E€r)rA)rr›s``rrzz$TestCtypesGetter.test_not_deprecatedßsù€ð     ×"Ñ"Ô#EÕFr)r,rBrCrDrr%Úarrayr£r]r^r_r.rwrzr!rrršršÓsŽ„à$€KØ ˆRX‰Xqc‹]× !Ñ !€Fà ‡[[×ÑØÒLóð% Cð%¨Dò%óð%ð ‡[[×ÑØÒ>óðG¨ðG°òGóñGrršcó—eZdZeZd„Zy)Ú
TestMachArcó(—|jd„«y)Ncó6—tjjSr)r%Ú_coreÚMachArr!rrrLz3TestMachAr.test_deprecated_module.<locals>.<lambda>ës€¤r§x¡x§¡€rr@rs rÚtest_deprecated_modulez!TestMachAr.test_deprecated_moduleês€Ø ×ÑÑ6Õ7rN)r,rBrCrDrr²r!rrr­r­æs „à$€Kó8rr­cóD—eZdZejj dejejejejg«d„«Z ejj dejejejejg«d„«Z y)Ú$TestQuantileInterpolationDeprecationr¤cóV‡—|jˆfd„«|jˆfd„«y)Ncó•—‰ddgdd¬«S)NrŒrÚlinear©Ú interpolationr!©r¤s€rrLzFTestQuantileInterpolationDeprecation.test_deprecated.<locals>.<lambda>ôsø€‘D˜"˜b˜ 2°XÔ>€rcó•—‰ddgdd¬«S)NrŒrÚnearestr¸r!rºs€rrLzFTestQuantileInterpolationDeprecation.test_deprecated.<locals>.<lambda>ösø€‘D˜"˜b˜ 2°YÔ?€rr@©rr¤s `rrwz4TestQuantileInterpolationDeprecation.test_deprecatedðs)ø€ð     ×ÑÛ >ô    @à ×ÑÛ ?õ    Arcó—tj«5tjdt«t    j
t «5|ddgddd¬«ddd«ddd«y#1swYŒxYw#1swYyxYw)Nr rŒrr¼)r¹Úmethod)rrÚ simplefilterrDr]Úraisesr˜r½s  rÚtest_both_passedz5TestQuantileInterpolationDeprecation.test_both_passedøsw€ô× $Ñ $Ó &ñ    Nä × !Ñ ! (Ô,>Ô ?Ü—‘œyÓ)ñ Nِb˜"X˜r°À9ÕM÷ N÷    Nð    N÷ Nð Nú÷    Nð    Nús#•4A5Á    A)ÁA5Á)A2    Á.A5Á5A>N) r,rBrCr]r^r_r%Ú
percentileÚquantileÚ nanpercentileÚ nanquantilerwrÂr!rrr´r´îsŽ„à ‡[[×јVØ     ‰˜Ÿ ™  R×%5Ñ%5°r·~±~ÐFóHñAóHðAð  ‡[[×јVØ ]‰]˜BŸK™K¨×)9Ñ)9¸2¿>¹>Ð JóLñNóLñNrr´có—eZdZd„Zd„Zy)ÚTestScalarConversioncó\—|jttjdg«f¬«y)Nç…ëQ¸    @rh)r>Úfloatr%r«rs rÚtest_float_conversionz*TestScalarConversion.test_float_conversions#€Ø ×Ñœu¬B¯H©H°d°VÓ,<Ð+>ÐÕ?rcó—tjdgg«}tjd«}tjt
«5||d<ddd«y#1swYyxYw)NrÊrgr)r%r«Úzerosr]ÚwarnsrD)rÚbÚcs   rÚtest_behaviourz#TestScalarConversion.test_behavioursL€Ü H‰HtfXÓ ˆÜ H‰HQ‹KˆÜ \‰\Ô,Ó -ñ    ØˆAˆa‰D÷    ÷    ñ    ús ÁAÁAN)r,rBrCrÌrÒr!rrrÈrÈs „ò@órrÈcón—eZdZdZej
j dejd«d„«Z    y)ÚTestPyIntConversionz,.*stop allowing conversion of out-of-bound.*rÚ
AllIntegerc󇇇—tj‰«Štj‰«Šd„}d„}d„}|||fD]0Š    |jˆˆˆfd„«    |jˆˆˆfd„«Œ2y#t$rYŒ%wxYw#t$rYŒNwxYw)Ncó&—|j|«yr)Útype©Úvaluers  rrvz:TestPyIntConversion.test_deprecated_scalar.<locals>.scalars€Ø J‰JuÕ rcó@—tjgd¢|¬«}||d<y)N)rrrrŽrO©r%r«)rÚrÚarrs   rÚassignz:TestPyIntConversion.test_deprecated_scalar.<locals>.assigns€Ü—(‘(š9¨EÔ2ˆC؈CŠFrcó4—tj|g|¬«y)NrŽrÜrÙs  rÚcreatez:TestPyIntConversion.test_deprecated_scalar.<locals>.creates€Ü H‰HeW EÖ *rcó0•—‰‰jdz
‰«S©Nr )Úmin©Ú creation_funcrÚinfos€€€rrLz<TestPyIntConversion.test_deprecated_scalar.<locals>.<lambda>%󸀡 ¨d¯h©h¸©l¸EÓ B€rcó0•—‰‰jdz‰«Srâ)Úmaxräs€€€rrLz<TestPyIntConversion.test_deprecated_scalar.<locals>.<lambda>+rçr)r%rÚiinfor>Ú OverflowError)rrrvrÞràråræs `   @@rÚtest_deprecated_scalarz*TestPyIntConversion.test_deprecated_scalars™ú€ä—‘˜“ˆÜx‰x˜‹ˆò    ò    ò    +ð% f¨fÐ5ò     ˆMð Ø×&Ñ&ÝBôDð
 Ø×&Ñ&ÝBõDñ     øô!ò Ùð ûô !ò Ùð ús$ÁA0ÁA?Á0    A<Á;A<Á?    B Â
B N)
r,rBrCrr]r^r_r%Ú    typecodesrìr!rrrÔrÔs4„Ø=€Gà ‡[[×јW b§l¡l°<Ñ&@ÓAñóBñrrÔr›)r.ÚbytesÚobjectcó—|tt«vsJ‚tjtd|›¬«5t t|«rJ‚    ddd«tj |«|tjjvy#1swYŒ;xYw)NzIn the future .*©Úmatch)    Údirr%r]rÏÚ FutureWarningÚhasattrrr°Ú
sctypeDict)r›s rÚtest_future_scalar_attributesr÷0su€ð ”sœ2“wÑ ÐÐ Ü    ‰”mØ$ T FÐ+ô
-ñ%äœ2˜tÔ$Ð$Ð$Ð$÷%ô
‡HHˆT„NØŒBH‰H× Ñ Ò÷ %ð%ús ²BÂB    z"ignore:In the future:FutureWarningcóT—eZdZejj dgd¢«d„«Zy)ÚTestRemovedGlobalsr›)rïrËÚcomplexr.Úintcó—d|›d}tjt|¬«5tt|«ddd«y#1swYyxYw)Nz.*
`np.z(` was a deprecated alias for the builtinrñ)r]rÁÚAttributeErrorr¢r%)rr›r;s   rÚ!test_attributeerror_includes_infoz4TestRemovedGlobals.test_attributeerror_includes_infoDs@€ð˜˜ÐFÐGˆÜ ]‰]œ>°Ô 5ñ    Ü ”B˜Ô ÷    ÷    ñ    ús    ¢<¼AN)r,rBrCr]r^r_rþr!rrrùrù>s*„ð  ‡[[×јVÚ 8ó:ñó:ñrrùcó—eZdZd„Zy)ÚTestDeprecatedFinfocóF—|jtjd¬«y)Nrrh)r>r%Úfinfors rÚtest_deprecated_nonez(TestDeprecatedFinfo.test_deprecated_noneNs€Ø ×ÑœrŸx™x¨gÐÕ6rN)r,rBrCrr!rrrrLs„ó7rrcó—eZdZd„Zy)Ú TestMathAliascó(—|jd„«y)Ncó6—tjjSr)r%ÚlibÚmathr!rrrLz;TestMathAlias.test_deprecated_np_lib_math.<locals>.<lambda>Ts€¤r§v¡v§{¡{€rr@rs rÚtest_deprecated_np_lib_mathz)TestMathAlias.test_deprecated_np_lib_mathSs€Ø ×ÑÑ2Õ3rN)r,rBrCr
r!rrrrRs„ó4rrcó—eZdZd„Zy)ÚTestLibImportsc󇇇‡‡‡‡‡    ‡
‡ ‡ —ddlmŠmŠ
mŠ ddlmŠddlmŠddlm    Šm
Š    ddl m }ddl mŠ ddlmŠ|j#ˆ fd    „«ˆfd
„Šd d d dœŠ|j#ˆˆfd„«|j#ˆˆˆ    fd„«|j#ˆfd„«|j#|«|j#ˆfd„«|j#ˆfd„«|j#ˆ
fd„«|j#ˆ fd„«|j#d„«y)Nr)Úin1dÚ    row_stackÚtrapz©Úmaximum_sctype©Údisp)Ú
recfromcsvÚ
recfromtxt)Úget_array_wrap©Ú    safe_eval©ÚTextIOcó•—‰d«S)NÚNoner!rs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>bs ø€¡y°Ó'8€rcó•—‰d«S)Nz A,B
0,1
2,3r!rs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>ds ø€™6 /Ó2€rú,zN/AT)Ú    delimiterÚmissing_valuesÚnamescó•—‰‰««Srr!)Údata_genrs€€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>fsø€¡z±(³*Ó'=€rcó •—‰‰«fi‰¤ŽSrr!)r$r6rs€€€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>gsø€¡z±(³*Ñ'GÀÑ'G€rcó•—‰d«S)NÚtestr!rs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>is ø€¡t¨F£|€rcó•—‰t«Sr)rûrs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>ks ø€¡~´cÓ':€rcó•—‰dgdg«Srâr!)rs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>msø€¡t¨Q¨C°!°£~€rcó•—‰gg«Srr!)rs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>ns ø€¡y°"°£€rcó•—‰dgdg«Srâr!)rs€rrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>osø€¡u¨a¨S°1°#£€rcó"—tjSr)r%Ú    chararrayr!rrrLzDTestLibImports.test_lib_functions_deprecation_call.<locals>.<lambda>ps
€¤r§|¡|€r)ÚnumpyrrrÚnumpy._core.numerictypesrÚnumpy.lib._function_base_implrÚnumpy.lib._npyio_implrrÚnumpy.lib._shape_base_implrÚnumpy.lib._utils_implrÚnumpy.lib.tests.test_iorr>) rrrr$rrr6rrrrrrs   @@@@@@@@@@@rÚ#test_lib_functions_deprecation_callz2TestLibImports.test_lib_functions_deprecation_callYsÂÿú€ß0Ñ0Ý;Ý6ß@Ý=Ý3Ý2à ×ÑÓ8Ô9ã2ˆØ"°eÀdÑKˆØ ×ÑÔ=Ô>Ø ×ÑÕGÔHà ×ÑÓ3Ô4Ø ×ј~Ô.Ø ×ÑÓ:Ô;à ×ÑÓ5Ô6Ø ×ÑÓ6Ô7Ø ×ÑÓ6Ô7Ø ×ÑÑ3Õ4rN)r,rBrCr5r!rrr r Ws„ó5rr có—eZdZd„Zd„Zy)ÚTestDeprecatedDTypeAliasescóì—tjd¬«5}|«ddd«t«dk(sJ‚|d}|jtusJ‚dt |j «vsJ‚y#1swYŒLxYw)NTr
r rz%alias 'a' was deprecated in NumPy 2.0)rrr-r rDr.r)rr¤Úcaught_warningsr<s    rÚ_check_for_warningz-TestDeprecatedDTypeAliases._check_for_warningusr€Ü × $Ñ $¨DÔ 1ð    °_Ù ŒF÷    ä?Ó# qÒ(Ð(Ð(Ø ˜AÑ ˆØz‰zÔ/Ñ/Ð/Ð/Ø6¼#¸a¿i¹i».ÑHÐHÑH÷     ð    ús —A*Á*A3c󬇗dD]NŠˆfd„}|j|«|j|«d„}|j|«|j|«ŒPy)N)ÚaÚa10có.•—tj‰«Sr)r%rrŽs€rrLz?TestDeprecatedDTypeAliases.test_a_dtype_alias.<locals>.<lambda>sø€œŸ™ ›€rcóN—tjddg«jd«S)NÚhelloÚworldr=)r%r«Úastyper!rrrLz?TestDeprecatedDTypeAliases.test_a_dtype_alias.<locals>.<lambda>‚s€œŸ™ '¨7Ð!3Ó4×;Ñ;¸EÓB€r)r:r>)rÚfrs  @rÚtest_a_dtype_aliasz-TestDeprecatedDTypeAliases.test_a_dtype_alias}sTø€Ø!ò    &ˆEÛ'ˆAØ × #Ñ # AÔ &Ø × "Ñ " 1Ô %ÙBˆAØ × #Ñ # AÔ &Ø × "Ñ " 1Õ %ñ     &rN)r,rBrCr:rDr!rrr7r7ss „òIó&rr7có—eZdZdZd„Zy)ÚTestDeprecatedArrayWrapz__array_wrap__.*cóև‡—Gd„d«}Gd„d|«}|«Š|«Š|jˆfd„«‰jsJ‚|jˆfd„«‰jsJ‚y)Ncó—eZdZdd„Zdd„Zy)ú6TestDeprecatedArrayWrap.test_deprecated.<locals>.Test1Ncó,—tjd«S)Né)r%Úarange)rrÚcopys   rÚ    __array__z@TestDeprecatedArrayWrap.test_deprecated.<locals>.Test1.__array__Œs€Ü—y‘y “|Ð#rcó—d|_y)NTz pass context©Úcalled)rrÝÚcontexts   rÚ__array_wrap__zETestDeprecatedArrayWrap.test_deprecated.<locals>.Test1.__array_wrap__s €Ø"” Ø%r)NNr)r,rBrCrNrSr!rrÚTest1rI‹s „ó $ô &rrTcó—eZdZd„Zy)ú6TestDeprecatedArrayWrap.test_deprecated.<locals>.Test2có—d|_y)NTÚpassrP)rrÝs  rrSzETestDeprecatedArrayWrap.test_deprecated.<locals>.Test2.__array_wrap__”s €Ø"” ØrN)r,rBrCrSr!rrÚTest2rV“s„ó rrYcó.•—tj‰«Sr©r%Únegative)Útest1s€rrLz9TestDeprecatedArrayWrap.test_deprecated.<locals>.<lambda>šóø€¤r§{¡{°5Ó'9€rcó.•—tj‰«Srr[)Útest2s€rrLz9TestDeprecatedArrayWrap.test_deprecated.<locals>.<lambda>œr^r)r>rQ)rrTrYr]r`s   @@rrwz'TestDeprecatedArrayWrap.test_deprecatedŠs_ù€÷    &ñ    &ô    Eô    ñ
“ˆÙ“ˆØ ×ÑÓ9Ô:؏|Š|Ј|Ø ×ÑÓ9Ô:؏|Š|Љ|rN©r,rBrCrrwr!rrrFrF‡s „Ø €GórrFcóX—eZdZdZej
j dgd¢«d„«Zy)Ú+TestDeprecatedDTypeParenthesizedRepeatCountz(Passing in a parenthesized single numberÚstring)z(2)i,z(3)3S,zf,(2)fcóH—|jtj|f¬«y)Nrh)r>r%r)rrds  rÚtest_parenthesized_repeat_countzKTestDeprecatedDTypeParenthesizedRepeatCount.test_parenthesized_repeat_count£s€à ×ÑœrŸx™x¨v¨iÐÕ8rN)r,rBrCrr]r^r_rfr!rrrcrc s,„Ø8€Gà ‡[[×јXÒ'DÓEñ9óFñ9rrccó—eZdZdZd„Zy)ÚTestDeprecatedSaveFixImportsz7The 'fix_imports' flag is deprecated and has no effect.c    óX—td¬«5}|tjtjd««f}|j    tj
|¬«|j tj
|ddi¬«|j tj
|ddi¬«d    D]p}|j    tj
|d
|i¬«|j tj
||dd œ¬«|j tj
||dd œ¬«Œr    ddd«y#1swYyxYw) Nz.npy)Úsuffix)ié
rhÚ fix_importsTrqF)TFÚ allow_pickle)rmrl)rr%r«rÎrAÚsaver>)rÚpathÚ sample_argsrms    rrwz,TestDeprecatedSaveFixImports.test_deprecated¬s%€Ü ˜VÔ $ð    C¨Ø¤§¡¬"¯(©(°:Ó*>Ó!?Ð@ˆKØ × &Ñ &¤r§w¡w°[Ð &Ô AØ × "Ñ "¤2§7¡7°Ø(5°tÐ'<ð #ô >à × "Ñ "¤2§7¡7°Ø(5°uÐ'=ð #ô ?à -ò C Ø×*Ñ*¬2¯7©7¸Ø0>À Ð/Mð+ôOà×&Ñ&¤r§w¡w°[Ø<HØ;?ñ,Að'ôBð×&Ñ&¤r§w¡w°[Ø<HØ;@ñ,Bð'õCñ  C÷    C÷    Cñ    Cús D    D Ä D)Nrar!rrrhrh¨s „àG€GóCrrhcó—eZdZd„Zy)ÚTestAddNewdocUFunccó(—|jd„«y)Ncór—tjjjtj
d«S)Nznew docs)r%r°ÚumathÚ_add_newdoc_ufuncÚ struct_ufuncÚ add_tripletr!rrrLz4TestAddNewdocUFunc.test_deprecated.<locals>.<lambda>Ãs$€”B—H‘H—N‘N×4Ñ4Ü×(Ñ(¨*ó€rr@rs rrwz"TestAddNewdocUFunc.test_deprecatedÁs€Ø ×Ññ õ    
rN)r,rBrCrwr!rrrrrr¿s„ó
rrr)+Ú__doc__r'rÚnumpy._core._struct_ufunc_testsr°Ú_struct_ufunc_testsrwr]Únumpy._core._multiarray_testsrr.r%Ú numpy.testingrrÚpytzÚ    _has_pytzÚ ImportErrorrrFrIrUrarmrŠršr­r´rÈrÔr^r_r÷rrùrrr r7rFrcrhrrr!rrú<module>rs¦ðñó
Ûç6Ð6Û ÝDãß1ðÛØ€I÷
kAñkAô\:Ð"6ô:÷ -ñ -ô=Ð'ô=ôFÐ+ôFô UÐ3ôUô00Ð&:ô0ô*GÐ+ôGô&8Ð%ô8ôNÐ+?ôNô(    Ð/ô    ôÐ.ôðD‡×јÒ!;Ó<ñ     ó=ð     ð‡×ÑÐ@ÓA÷
ð
óBð
ô7Ð.ô7ô 4Ð(ô4ô
5Ð)ô5ô8&Ð!5ô&ô(Ð2ôô29Ð2Fô9ôCÐ#7ôCô.
Ð-õ
øðY ò؃Iðús«EÅE#Å"E#