o
    թZh                     @   s:   d Z ddlZddlmZmZ ddlmZ G dd dZ	dS )z)
We also test Series.notna in this file.
    N)PeriodSeriesc                   @   s   e Zd Zdd Zdd ZdS )TestIsnac                 C   sV   t tdddtdddg}t ddg}| }t|| | }t||  d S )Nz2011-01M)freqZNaTFT)r   r   isnatmassert_series_equalnotna)selfserexpectedresult r   \/var/www/html/lang_env/lib/python3.10/site-packages/pandas/tests/series/methods/test_isna.pytest_isna_period_dtype   s   zTestIsna.test_isna_period_dtypec                 C   s   t dddtjdg}t g d}t| | t| |  t ddtjg}t g d}t| | t| |  d S )	Nr   g@   gMbP)FFFTFhi )FFT)r   npnanr   r	   r   r
   )r   r   r   r   r   r   	test_isna   s   zTestIsna.test_isnaN)__name__
__module____qualname__r   r   r   r   r   r   r      s    r   )
__doc__numpyr   Zpandasr   r   Zpandas._testingZ_testingr   r   r   r   r   r   <module>   s
    