+
    /i                     ^    ^ RI t ^ RIt^ RIHt ^ RIHt ]! R. R	ORR.4      t ! R R4      tR# )
    N)assert_equal)_make_tuple_bunchResultwbetac                   &  a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tR tR tR tR tR t]P0                  P3                  RRR.R.3RR.R.3RR.R.3.4      R 4       t]P0                  P3                  RR. R(OR.3RRR.RR.3.4      R 4       t]P0                  P3                  RRR.R.3RR.R.3.4      R  4       t]P0                  P3                  RRR!.R.3RR.R".3R#R.R.3.4      R$ 4       tR% tR&tV t R'# ))TestMakeTupleBunchc                0    \        ^^^^cRR7      V n        R# )         ?xyzr   r   N)r   resultselfs   &Y/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/_lib/tests/test_bunch.pysetup_methodTestMakeTupleBunch.setup_method   s    qAbs;    c                F   \        V P                  P                  ^4       \        V P                  P                  ^4       \        V P                  P                  ^4       \        V P                  P
                  ^c4       \        V P                  P                  R4       R# )r   r   N)r   r   r   r   r   r   r   r   s   &r   test_attribute_access(TestMakeTupleBunch.test_attribute_access   s^    T[[]]A&T[[]]A&T[[]]A&T[[]]B'T[[%%s+r   c                   \        V P                  ^ ,          ^4       \        V P                  ^,          ^4       \        V P                  ^,          ^4       \        V P                  R,          ^4       \        P                  ! \        RR7      ;_uu_ 4        V P                  ^,           RRR4       R#   + '       g   i     R# ; i)r   zindex out of rangematchN)r   r   pytestraises
IndexErrorr   s   &r   test_indexing TestMakeTupleBunch.test_indexing   sw    T[[^Q'T[[^Q'T[[^Q'T[[_a(]]:-ABBKKN CBBBs   B77C	c                l    V P                   w  rp\        WV3R4       \        V P                   R4       R# r   Nr         )r   r   )r   x0y0z0s   &   r   test_unpacking!TestMakeTupleBunch.test_unpacking%   s+    [[
bb\9-T[[),r   c                    \        V P                  R ,          R4       \        V P                  R,          R4       \        V P                  RRR1,          R4       R# ):r   NN:NNr'   N)r'   r(   )r   r(   r   )r(   r'   r   )r   r   r   s   &r   
test_sliceTestMakeTupleBunch.test_slice*   s>    T[[_f-T[[%v.T[[2&	2r   c                D    \        \        V P                  4      ^4       R# )r(   N)r   lenr   r   s   &r   test_lenTestMakeTupleBunch.test_len/   s    S%q)r   c                H    \        V P                  4      p\        VR 4       R# )z%Result(x=1, y=2, z=3, w=99, beta=0.5)N)reprr   r   )r   ss   & r   	test_reprTestMakeTupleBunch.test_repr2   s    Q?@r   c                V    \        \        V P                  4      \        R4      4       R# r%   )r   hashr   r   s   &r   	test_hashTestMakeTupleBunch.test_hash6   s    T$++&Y8r   c                F   \         P                  ! V P                  4      p\         P                  ! V4      p\	        V\
        4      '       g   Q h\        VP                  V P                  P                  4       \        VP                  V P                  P                  4       \        VP                  V P                  P                  4       \        VP                  V P                  P                  4       \        VP                  V P                  P                  4       R # )N)pickledumpsr   loads
isinstancer   r   r   r   r   r   r   )r   r7   objs   &  r   test_pickleTestMakeTupleBunch.test_pickle9   s    LL%ll1o#v&&&&SUUDKKMM*SUUDKKMM*SUUDKKMM*SUUDKKMM*SXXt{{//0r   c                    \         P                  ! \        R R7      ;_uu_ 4        RV P                  n        RRR4       R#   + '       g   i     R# ; i)zcan't set attributer   Nr   )r   r    AttributeErrorr   r   r   s   &r   test_read_only_existing*TestMakeTupleBunch.test_read_only_existingC   s/    ]]>1FGGDKKM HGGG   AA	c                b    R V P                   n        V P                   P                  R 8X  g   Q hR# )zlattice of coincidenceN)r   plate_of_shrimpr   s   &r   test_read_only_new%TestMakeTupleBunch.test_read_only_newG   s'    &>#{{**.FFFFr   c           	         \         P                  ! \        R R7      ;_uu_ 4        \        ^^^RR7       RRR4       R#   + '       g   i     R# ; i)missingr         ?)r   r   r   r   Nr   r    	TypeErrorr   r   s   &r   "test_constructor_missing_parameter5TestMakeTupleBunch.test_constructor_missing_parameterK   s0    ]]9I66Q!qt, 7666	   ?A	c                    \         P                  ! \        R R7      ;_uu_ 4        \        ^^^^{RRR7       RRR4       R#   + '       g   i     R# ; i)
unexpectedr   rQ   i  )r   r   r   r   r   fooNrR   r   s   &r   $test_constructor_incorrect_parameter7TestMakeTupleBunch.test_constructor_incorrect_parameterP   s4    ]]9L99Q!qCd< :999rJ   c                ~    R p\        \        P                  V4       \        V P                  P                  V4       R# )zscipy._lib.tests.test_bunchN)r   r   
__module__r   )r   ms   & r   test_moduleTestMakeTupleBunch.test_moduleU   s+    )V&&*T[[++Q/r   c                B   \        ^^^RRR7      p\        ^^^^cRR7      p\        VP                  R4       \        VP                  R4       \        VR,          R4       \        VP                  ^c4       \        VP                  R4       \        VR,          R4       R# )	r   g        r   g      ?:NNNNr   r&   )         )r   r   r   r   )r   result1result2s   &  r   test_extra_fields_per_instance1TestMakeTupleBunch.test_extra_fields_per_instanceZ   s~     1Q"371Q"37WYY#W\\3' 	WQZ+WYY#W\\3'WQZ+r   c                    \        R RR.4      pV! ^^R7      p\        VP                  ^4       \        VP                  ^4       \	        V4      p\        VR4       R# )Squarewidthheight)rk   rl   zSquare(width=1, height=2)N)r   r   rk   rl   r6   )r   rj   sqr7   s   &   r   "test_extra_field_names_is_optional5TestMakeTupleBunch.test_extra_field_names_is_optionalm   sO    "8gx-@A!A&RXXq!RYY"HQ34r   c                    \        R RR.4      pV! ^^R7      p\        V\        4      '       g   Q h\        VR,           \        4      '       g   Q hR# )Tupab)rr   rs   N)r   )r   rB   tuple)r   rq   tus   &  r   test_tuple_like"TestMakeTupleBunch.test_tuple_likeu   sG    Sz21]"e$$$$"t)U++++r   c                    R p\        RR.RR.VR7      pV! ^R^qR7      p\        VP                  V4       \        VP                  V4       R# )	zsome.module.nameFoor   rr   rs   )moduleic  )r   rr   rs   N)r   r   r]   )r   r^   ry   rY   s   &   r   test_explicit_module'TestMakeTupleBunch.test_explicit_module{   sG    usCjCA$S^^Q'S^^Q'r   c                r    \        R RR.4      p\        VR4      '       g   Q h\        VR4      '       g   Q hR# )rj   rk   rl   _replace_field_defaultsN)r   hasattr)r   rj   s   & r   test_passes_polars_checks,TestMakeTupleBunch.test_passes_polars_checks   s:    "8gx-@Avz****v01111r   args123rr   rs   ry   z-3r   z+-*/c                    \         P                  ! \        R R7      ;_uu_ 4        \        V!   RRR4       R#   + '       g   i     R# ; i)identifiersr   Nr   r    
ValueErrorr   r   r   s   &&r   test_identifiers_not_allowed/TestMakeTupleBunch.test_identifiers_not_allowed   s,     ]]:];;t$ <;;;	   
9A
	c                    \         P                  ! \        R R7      ;_uu_ 4        \        V!   RRR4       R#   + '       g   i     R# ; i)	Duplicater   Nr   r   s   &&r   test_repeated_field_names,TestMakeTupleBunch.test_repeated_field_names   s,     ]]:[99t$ :999r   _a_xc                    \         P                  ! \        R R7      ;_uu_ 4        \        V!   RRR4       R#   + '       g   i     R# ; i)
underscorer   Nr   r   s   &&r   #test_leading_underscore_not_allowed6TestMakeTupleBunch.test_leading_underscore_not_allowed   s,     ]]:\::t$ ;:::r   deforandc                    \         P                  ! \        R R7      ;_uu_ 4        \        V!   RRR4       R#   + '       g   i     R# ; i)keywordr   Nr   r   s   &&r   "test_keyword_not_allowed_in_fields5TestMakeTupleBunch.test_keyword_not_allowed_in_fields   s,     ]]:Y77t$ 8777r   c                    \         P                  ! \        R R7      ;_uu_ 4        \        R. RR.4       RRR4       R#   + '       g   i     R# ; i)zat least one namer   Qwertyrr   rs   Nr   r   s   &r   %test_at_least_one_field_name_required8TestMakeTupleBunch.test_at_least_one_field_name_required   s4    ]]:-@AAhS#J7 BAAArV   )r   N)rr   rs   rr   )!__name__r]   __qualname____firstlineno__r   r   r"   r,   r/   r3   r8   r<   rD   rH   rM   rT   rZ   r_   rg   rn   rv   r{   r   r   markparametrizer   r   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r   r	   r	      s    <,-
3
*A91G-
=
0
,&5,(2 [[VusecU&;',tfse&<',sefX&>&@ A%A% [[Vuou&E',sCj3*&E&G H%H% [[Vutfse&<',sedV&<&> ?%?% [[Vuugu&=',sedV&<',secU&;&= >%>%8 8r   r	   )r   r   r   )r   r?   numpy.testingr   scipy._lib._bunchr   r   r	    r   r   <module>r      s1      & /
 
8_sFm	D]8 ]8r   