a
    Pf                     @   s&   d dl Z d dlmZ G dd dZdS )    Nc                   @   s   e Zd Zdd ZdS )TestCategoricalWarningsc              	   C   s   t jddd ddlm} d}|| tjd ddJ |d	" t|j	d
d W d    n1 sh0    Y  W d    n1 s0    Y  d S )NZIPythonz6.0.0)Z
minversionr   )provisionalcompleterz+import pandas as pd; c = pd.Categorical([])F)Zraise_on_extra_warningsignorezc.   )
pytestZimportorskipZIPython.core.completerr   Zrun_celltmZassert_produces_warninglistZ	CompleterZcompletions)selfipr   code r   f/var/www/ai-form-bot/venv/lib/python3.9/site-packages/pandas/tests/arrays/categorical/test_warnings.pytest_tab_complete_warning   s    

z1TestCategoricalWarnings.test_tab_complete_warningN)__name__
__module____qualname__r   r   r   r   r   r      s   r   )r   Zpandas._testingZ_testingr   r   r   r   r   r   <module>   s   