Format: application/x-python-code
1 o
2
3 ��h� � @ sV d Z ddlZddlmZ ddlZddlZejddd�dd� �Zd Zd
4 d� Z dd
5 � Z
6 dS )z?Test suite for our color utilities.
7
8 Authors
9 -------
10
11 * Min RK
12 � N)�Parser�module)�Linux�NoColorZLightBGZNeutral)�scope�paramsc c s � | j V d S )N)�param)�request� r
13 �Yc:\Users\shubh\Videos\agent\nova\Lib\site-packages\IPython/utils/tests/test_pycolorize.py�style s �r uU
14 def function(arg, *args, kwarg=True, **kwargs):
15 '''
16 this is docs
17 '''
18 pass is True
19 False == None
20
21 with io.open(ru'unicode', encoding='utf-8'):
22 raise ValueError("escape
23 sequence")
24
25 print("wěird ünicoðe")
26
27 class Bar(Super):
28
29 def __init__(self):
30 super(Bar, self).__init__(1**2, 3^4, 5 or 6)
31 c C s@ t �� }t| d�}|�t|� |�d� |�� }d|vsJ �dS )zand test writing to a buffer�r r �ERRORN)�io�StringIOr �format�sample�seek�read)r �buf�p�f1r
32 r
33 r �test_parse_sample7 s
34
35 r c C s@ t | d�}|�tjdkrdndd�}| dkrd|v sJ �d S d S )Nr
36 )� � z\ �)�strr r )r r �sys�version_info)r r r r
37 r
38 r �test_parse_errorB s
39 �r )�__doc__r ZIPython.utils.PyColorizer r ZpytestZfixturer r r r r
40 r
41 r
42 r �<module> s
43