
    gi                     X    d Z ddlZddlZddlmZ ddlmZ  G d d      Z G d d      Z	y)	z'Test deprecation and future warnings.

    N)MaskedArrayFutureWarning)assert_equalc                   (    e Zd ZdZd Zd Zd Zd Zy)TestArgsortz	 gh-8701 c                    t        j                  d      j                  |      } ||       t        j                  g d      j                  |      } ||       t        j                  ddgddgg      j                  |      }t        j                  t         j
                  j                  j                  ||      }t        | ||d               ||d         ||d       y )N   )r         r	   r
      axis)	nparrayviewpytestwarnsmacorer   r   )selfargsortclsarr_0darr_1darr_2dresults          X/var/www/html/audio_env/lib/python3.12/site-packages/numpy/ma/tests/test_deprecations.py
_test_basezTestArgsort._test_base   s    !!!#&)$))#. Aq6Aq6*+005EEJJ//&BVWV$78 	T"R     c                 r    | j                  t        j                  j                  t        j                        S N)r   r   r   r   ndarrayr   s    r   test_function_ndarrayz!TestArgsort.test_function_ndarray   s    ruu}}bjj99r   c                     | j                  t        j                  j                  t        j                  j                        S r!   )r   r   r   r   MaskedArrayr#   s    r   test_function_maskedarrayz%TestArgsort.test_function_maskedarray!   s%    ruu}}bee.?.?@@r   c                     | j                  t        j                  j                  j                  t        j                  j                        S r!   )r   r   r   r&   r   r#   s    r   test_methodzTestArgsort.test_method$   s-    ruu0088"%%:K:KLLr   N)__name__
__module____qualname____doc__r   r$   r'   r)    r   r   r   r      s    !":AMr   r   c                       e Zd Zd Zy)TestMinimumMaximumc                 r   t         j                  j                  d      }|j                  dd      }t         j                  j                  j
                  }t         j                  j                  j
                  }t        j                  t        ||      }t        | ||d              t        j                  t        ||      }t        | ||d               ||      }t        | ||d              t        | ||d              ||      }t        | ||d              t        | ||d             y )N   r	   r
   r   r   )r   r   arangereshapeminimumreducemaximumr   r   r   r   )r   data1ddata2dma_minma_maxr   s         r   test_axis_defaultz$TestMinimumMaximum.test_axis_default*   s     a1%%%%% 6GVVF676GVVF67 VVF67VVF34VVF67VVF34r   N)r*   r+   r,   r<   r.   r   r   r0   r0   (   s    5r   r0   )
r-   r   numpyr   numpy.ma.corer   numpy.ma.testutilsr   r   r0   r.   r   r   <module>r@      s.      2 +M M:5 5r   