o
    û›há  ã                   @   sV   d Z ddlZddlmZ ddlZddlZejddd�dd„ ƒZd	Zd
d„ Z	dd„ Z
dS )z?Test suite for our color utilities.

Authors
-------

* Min RK
é    N)ÚParserÚmodule)ÚLinuxÚNoColorZLightBGZNeutral)ÚscopeÚparamsc                 c   s   � | j V  d S )N)Úparam)Úrequest© r
   úYc:\Users\shubh\Videos\agent\nova\Lib\site-packages\IPython/utils/tests/test_pycolorize.pyÚstyle   s   €r   uU  
def function(arg, *args, kwarg=True, **kwargs):
    '''
    this is docs
    '''
    pass is True
    False == None

    with io.open(ru'unicode', encoding='utf-8'):
        raise ValueError("escape  sequence")

    print("wÄ›ird Ã¼nicoÃ°e")

class Bar(Super):

    def __init__(self):
        super(Bar, self).__init__(1**2, 3^4, 5 or 6)
c                 C   s@   t  ¡ }t| d�}| t|¡ | d¡ | ¡ }d|vsJ ‚dS )zand test writing to a buffer©r   r   ÚERRORN)ÚioÚStringIOr   ÚformatÚsampleÚseekÚread)r   ÚbufÚpÚf1r
   r
   r   Útest_parse_sample7   s   

r   c                 C   s@   t | d�}| tjdkrdndd¡}| dkrd|v sJ ‚d S d S )Nr   )é   é   z\ ú)Ústrr   r   )r   r   ÚsysÚversion_info)r   r   r   r
   r
   r   Útest_parse_errorB   s   
ÿr   )Ú__doc__r   ZIPython.utils.PyColorizer   r   ZpytestZfixturer   r   r   r   r
   r
   r
   r   Ú<module>   s   
