+
    ei  c                   s:    ^ RI t^ RIHtHtHtHt  ! R R4      tR# )    N)assert_assert_allcloseassert_array_equalsuppress_warningsc                   st   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V tR# )TestRegressionc                s    \         P                  P                  . RO. ROR7      p\        \         P                  P	                  V4      . RO.4       R# )r    maskN)r             r             )r    r    r    r   r   r   r    r    )r   r	   r   i   )npmamasked_arrayr   Znonzero)selfx   & E/usr/lib64/python3.14/site-packages/numpy/ma/tests/test_regression.pytest_masked_array_createZ'TestRegression.test_masked_array_create   s:    EE7$<  >255==+l^<    c                sJ    \         P                  P                  ^^.R7       R# )r   r   N)r   r   arrayr      &r   test_masked_arrayZ TestRegression.test_masked_array   s    
AQC r   c                s    ^ RI HpHp \        P                  ! R4      p\        P                  ! VP
                  V4      pV! WC4      pW5,
           R# )r    )MaskTypemasked_whereN)r   r   )Znumpy.mar   r   r   zerosshape)r   r   r   abc   &     r   test_mem_masked_whereZ$TestRegression.test_mem_masked_where   s8    3HHVHHQWWh'	r   c                s    \         P                  P                  R4      p\         P                  P                  VR&   \         P                  ! R4      pW,           W!,           R# )r   N)r   r   )r	   r    )r   r	   )r   r   r   Zmaskedr   r   r       &  r   test_masked_array_multiplyZ)TestRegression.test_masked_array_multiply   s?    EEKK%%,,$HHV		r   c                sh    \         P                  P                  ^.RR7      P                  ^
4       R# )r   Fr   N)r   r   r   Zrepeatr   r   r   test_masked_array_repeatZ'TestRegression.test_masked_array_repeat%   s#    
QCe$++B/r   c                sV    \        \        P                  P                  R 4      4       R# )ZUnicodeN)Zreprr   r   r   r   r   r   test_masked_array_repr_unicodeZ-TestRegression.test_masked_array_repr_unicode)   s    RUU[[#$r   c                s   \         P                  P                  . RO. ROR7      p\         P                  ! V4      p\	        VP
                  P                  ^8H  4       \	        VP
                  P                  ^8H  4       R# )        r   N)r)   g333333?g      @)FTF)r   r   r   Z
atleast_2dr   r   Zndimr$   r%   r   test_atleast_2dZTestRegression.test_atleast_2d-   sT    EE5IJMM!q !q !r   c                s    \         P                  P                  . RO. ROR7      pRVn        \	        VP                  R8H  4       R# )r   r   ZXN)r   r    r!   )r   r    r    )r   r   r   Z
fill_valuer   )r   r   r   r   test_set_fill_value_unicode_py3Z.TestRegression.test_set_fill_value_unicode_py34   s3    EEY?#$r   c                s   \         P                  P                  \         P                  ! ^4      RR7      p\         P                  P                  R\        R7      pVP                  VR7       \        VP                  ^ 8H  4       R# )r   Tr   Zdtype)ZoutNi)r   r   r   arangeZfloatZvarr   Z_data)r   r   Zmoutr%   r    test_var_sets_maskedarray_scalarZ/TestRegression.test_var_sets_maskedarray_scalar:   sS    EEKK		!4K0uu{{2U{+	$

a r   c                s   \         P                  P                  . RO^4      p\         P                  ! . RO4      p\	        4       ;_uu_ 4       pVP                  \        R4       \         P                  P                  W^ R7      p\         P                  P                  W^R7      p\        VP                  VP                  4       RRR4       R#   + '       g   i     R# ; i)r   zbias and ddof have no effect)ZddofN)r   r	   r
   r   r   )r	   g      @g@r
   r   )
r   r   Zmasked_equalr   r   ZfilterZDeprecationWarningZcorrcoefr   Zdata)r   r   yZsupZr0Zr1r"   r   test_ddof_corrcoefZ!TestRegression.test_ddof_corrcoefA   s    EE2HH()  CJJ)+IJ1-B1-BBGGRWW- !   s   A9CC!	c                sz   \         P                  P                  R R.RR.R7      p\        VP                  P
                  R8H  4       \         P                  ! VR4      p\        VP                  P
                  R8H  4       \        VP
                  R8H  4       \        VP                  P
                  R8H  4       R# )      ?       @Fr   N)r	   )r	   r   r	   r	   )r   r   MaskedArrayr   r   r   Ztiler$   r%   r   test_mask_not_backmangledZ(TestRegression.test_mask_not_backmangledM   s    EEr2heU^<$%GGAv$%6!"&'r   c                s    \         P                  P                  . RORR7      p\        V. ,          VR,          4       R# )r   zi4,f4r,   :Nr    NN))r   r1   )r	   r2   )r
   g      @)r   r   r4   r   r   r   r   r   test_empty_list_on_structuredZ,TestRegression.test_empty_list_on_structuredW   s.    UU:'J2b62b6*r   c                s    \         P                  P                  ^4      P                  R4      p\	        VP                  RR7      VP                  P                  4       4       R# )r   ZF)ZorderNr3   )r   r   r-   Zreshaper   ZtobytesZTr6   r   r   !test_masked_array_tobytes_fortranZ0TestRegression.test_masked_array_tobytes_fortran\   s=    UU\\!_$$V,2::C:0"$$,,.Ar   c                s    \         P                  P                  RR\         P                  3RR\         P                  3R\         P                  3.3.R7       R# )r   r   r/   ZiZjr,   N)r   )r   r   )r   r   r   Zint_Zvoidr   r   r   test_structured_arrayZ$TestRegression.test_structured_array`   sH    
O>#rww#rww @AC 	 	Dr    N)Z__name__Z
__module__Z__qualname__Z__firstlineno__r   r   r#   r&   r'   r(   r*   r+   r.   r0   r5   r7   r8   r9   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   
   sS     =!0%"%!
.(+
BD Dr   r   )Znumpyr   Znumpy.testingr   r   r   r   r   r:   r   r   <module>r;      s      ZD ZDr   