← Back
Editing: test_pycolorize.cpython-311.pyc
� �@�c� � �l � d Z ddlmZ ddlZddlZ ej dd�� � d� � � ZdZd � Zd � Z dS )z?Test suite for our color utilities. Authors ------- * Min RK � )�ParserN�module)�Linux�NoColor�LightBG�Neutral)�scope�paramsc # � K � | j V � d S )N)�param)�requests �E/usr/lib/python3/dist-packages/IPython/utils/tests/test_pycolorize.py�styler s � � � � �-������ uW 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 �� � t j � � }t | �� � }|� t |� � |� d� � |� � � }d|vsJ �dS )zand test writing to a buffer�r r �ERRORN)�io�StringIOr �format�sample�seek�read)r �buf�p�f1s r �test_parse_sampler 6 sd � � �+�-�-�C��U����A��H�H�V�S�����H�H�Q�K�K�K� �����B��"������r c �n � t | �� � }|� dd� � }| dk rd|v sJ �d S d S )Nr �)�strr r )r r )r r r s r �test_parse_errorr! A sJ � ��U����A� ���#�u� � �B�� ����"�}�}�}�}� ���}r ) �__doc__�IPython.utils.PyColorizer r �pytest�fixturer r r r! � r r �<module>r'