
    bMh                     @    d dl Z d dlmZ d dlmZ  G d d          ZdS )    N)DatetimeArrayc                   `    e Zd Zd Zej                            dddg          d             ZdS )TestAccumulatorc                 h   t          j        g dd                              d          }|                    d          }t          j        dgdz  d          }t	          j        ||           |                    d          }t          j        g dd          }t	          j        ||           d S )	N)
2000-01-01
2000-01-02z
2000-01-03M8[ns]dtypeinfercumminr      cummax)r   _from_sequence
_with_freq_accumulatetmassert_datetime_array_equal)selfarrresultexpecteds       m/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pandas/tests/arrays/datetimes/test_cumulative.pytest_accumulators_freqz&TestAccumulator.test_accumulators_freq   s    *  
 
 
 
 *W

 	 ** /0B(SSS
&vx888** /  
 
 
 
 	&vx88888    funccumsumcumprodc                     t          j        ddgd                              d          }t          j        t
          d|           5  |                    |           d d d            d S # 1 swxY w Y   d S )Nr   r   r	   r
   r   zAccumulation )match)r   r   r   pytestraises	TypeErrorr   )r   r   r   s      r   test_accumulators_disallowedz,TestAccumulator.test_accumulators_disallowed!   s     * 
 
 
 *W

 	 ]9,BD,B,BCCC 	" 	"OOD!!!	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	" 	"s   
A--A14A1N)__name__
__module____qualname__r   r!   markparametrizer$    r   r   r   r      sV        9 9 92 [Vh	%:;;
" 
" <;
" 
" 
"r   r   )r!   pandas._testing_testingr   pandas.core.arraysr   r   r*   r   r   <module>r.      sd           , , , , , ,%" %" %" %" %" %" %" %" %" %"r   