o
    d                     @   s2   d dl Zd dlZd dlmZmZ G dd dZdS )    N)CategoricalSeriesc                   @   s   e Zd Zdd Zdd ZdS )TestSeriesCountc                 C   s   |  t|ks
J tj|d d d< |  t| ksJ tdd tt	dg  dks4J W d    d S 1 s?w   Y  d S )N   Zuse_inf_as_naTz1990/1/1   )
countlennpNaNisfinitesumpdZoption_contextr   	Timestamp)selfZdatetime_series r   Z/app/.heroku/python/lib/python3.10/site-packages/pandas/tests/series/methods/test_count.py
test_count   s   "zTestSeriesCount.test_countc                 C   s:   t ttjddtjgg ddd}| }|dksJ d S )Nr   r   )         r   r   T)
categoriesZordered)r   r   r	   nanr   )r   Zserresultr   r   r   test_count_categorical   s   z&TestSeriesCount.test_count_categoricalN)__name__
__module____qualname__r   r   r   r   r   r   r   
   s    r   )numpyr	   Zpandasr   r   r   r   r   r   r   r   <module>   s    