U
    c                     @   s2   d dl Z d dlmZ d dlmZ G dd dZdS )    N)
async_markc                   @   s   e Zd Ze dd ZdS )TestCategoricalWarningsc              
      sn   t jddd ddlm} d}||I d H  td , |d t|j	dd	 W 5 Q R X W 5 Q R X d S )
NZIPythonz6.0.0)Z
minversionr   )provisionalcompleterz(import pandas as pd; c = Categorical([])ignorezc.   )
pytestZimportorskipZIPython.core.completerr   Zrun_codetmZassert_produces_warninglistZ	CompleterZcompletions)selfipr   code r   Q/tmp/pip-unpacked-wheel-g7fro6k3/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   r      s   r   )r   Zpandas.util._test_decoratorsr   Zpandas._testingZ_testingr   r   r   r   r   r   <module>   s   