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
Ë
Kñúhë ãó4—dZddlZddlmZddlZddlmZddlZ    Gd„d«Z
Gd„d«Z ejjd    e    je    je    j j"e    j$e    j&g«Gd
„d ««Zy) z
This file tests the generic aspects of ArrayMethod.  At the time of writing
this is private API, but when added, public API may be added here.
éN)ÚAny)Ú_get_castingimplc ó—eZdZeeej d««eej d«««Zejjdddddej d«dffej d«d    ffg«d
„«Z y    ) ÚTestResolveDescriptorsÚdÚfÚargs©T©N©)NNN)©NNTNcó’—tjt«5|jj|Žddd«y#1swYyxYwr )ÚpytestÚraisesÚ    TypeErrorÚmethodÚ_resolve_descriptors)Úselfr    s  úUH:\Change_password\venv_build\Lib\site-packages\numpy/_core/tests/test_arraymethod.pyÚtest_invalid_argumentsz-TestResolveDescriptors.test_invalid_argumentss9€ô]‰]œ9Ó %ñ    4Ø ,ˆDK‰K× ,Ñ ,¨dÑ 3÷    4÷    4ñ    4ús    š=½A) Ú__name__Ú
__module__Ú __qualname__Úget_castingimplÚtypeÚnpÚdtyperrÚmarkÚ parametrizer©órrrsŒ„ñ
™T ( "§(¡(¨3£-Ó0±$°x°r·x±xÀ³}Ó2EÓ F€Fà ‡[[×јVØØ    ØØØ
ˆ"(‰(3‹-˜Р   Ð Ø
ˆ"(‰(3‹-˜Р   Ð ð &óñ4óñ4r!rcór—eZdZeeej d««eej d«««Zejjddgde fde fde fde fejd    «ejd    «ffe fejd    d
¬ «ejd    d ¬ «ffe fejd d¬ «ejd d¬ «ffefejd    d¬ «ejdd¬ «ffefejdd¬ «ejdd¬ «ffefg    «d„«Zy)ÚTestSimpleStridedCallrrr    Úerrorr
)r r r éz>d)rz<f)ér&ésx00x00x00x00x00x00s x00x00x00cóŠ—tj|«5|jj|Žddd«y#1swYyxYwr )rrrÚ_simple_strided_call)rr    r$s   rrz,TestSimpleStridedCall.test_invalid_arguments*s9€ô$]‰]˜5Ó !ñ    4Ø ,ˆDK‰K× ,Ñ ,¨dÑ 3÷    4÷    4ñ    4ús    –9¹AN)rrrrrrrrrrrrÚarangeÚonesÚ
ValueErrorÚ
frombufferrr r!rr#r##sY„ñ
™T ( "§(¡(¨3£-Ó0±$°x°r·x±xÀ³}Ó2EÓ F€Fà ‡[[×јf gÐ.Ø    )ÐØ    YÐØ    yÐ!Ø         Ð*Ø ˆ29‰9Q‹<˜˜Ÿ™ 1›Ð
&Р   (¨)Ð4Ø ˆ27‰71˜DÔ ! 7 2§7¡7¨1°DÔ#9Ð
:Р   <Ø    ð    à ˆ27‰76 Ô % w r§w¡w¨v¸SÔ'AÐ
BР   DØ    ð    à ˆ27‰71˜CÔ   ' "§'¡'¨!°3Ô"7Ð
8Р   :Ø
ð    à ˆ2=‰=Ð)°Ô 5Ø ˆ2=‰=˜¨SÔ 1ð 3ð
5à    ð    ð1óñ 4ó!ñ 4r!r#Úclscó®—eZdZdeej
ddfd„Zejjde
d««deej
de ddfd„«Z y)ÚTestClassGetItemr.ÚreturnNcóz—|ttf}t|tj«sJ‚|j|usJ‚y)z!Test `ndarray.__class_getitem__`.N)rÚ
isinstanceÚtypesÚ GenericAliasÚ
__origin__)rr.Úaliass   rÚtest_class_getitemz#TestClassGetItem.test_class_getitemFs9€à”CœH‘ ˆÜ˜%¤×!3Ñ!3Ô4Ð4Ð4Ø×Ñ 3Ñ&Ð&Ñ&r!Úarg_lenr'có´—tf|z}|dvr||sJ‚yd|dk(rdnd›d}tjt|¬«5||ddd«y#1swYyxYw)N)ér&zToo rÚfewÚmanyz
 arguments)Úmatch)rrrr)rr.r9Úarg_tupr>s     rÚtest_subscript_tupz#TestClassGetItem.test_subscript_tupLsc€ä&˜7Ñ"ˆØ fÑ Øw’<Ð ‘<à G¨q¢L™5°fÐ=¸ZÐHˆEÜ—‘œy°Ô6ñ ؐG’ ÷ ÷ ñ ús ¿AÁA) rrrrrÚndarrayr8rrrÚrangeÚintr@r r!rr0r0@se„ð ' d¨2¯:©:Ñ&6ð'¸4ó'ð  ‡[[×јY©¨a«Ó1ð d¨2¯:©:Ñ&6ðÀðÈòó2ñr!r0)Ú__doc__r4ÚtypingrrÚnumpy._core._multiarray_umathrrÚnumpyrrr#rrrAÚrecarrayÚcharÚ    chararrayÚmatrixÚmemmapr0r r!rú<module>rMs„ðñó
 Ýã ÝMã÷4ñ4÷(4ñ4ð:‡×ÑØ    Ø

‰
B—K‘K §¡×!2Ñ!2°B·I±I¸r¿y¹yð ó÷
ðó ñ
r!