Format: application/x-python-code
⬇ Download File (1.4 KB)
   1  o
   2  
   3  ��h��@sVdZddlZddlmZddlZddlZejddd�dd��Zd	Zd
   4  d�Z	dd
   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�paramsccs�|jVdS)N)�param)�request�r
  13  �Yc:\Users\shubh\Videos\agent\nova\Lib\site-packages\IPython/utils/tests/test_pycolorize.py�styles�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  cCs@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_sample7s
  34  
  35  rcCs@t|d�}|�tjdkrdndd�}|dkrd|vsJ�dSdS)Nr
  36  )��z\ �)�strrr)rr�sys�version_info)rrrr
  37  r
  38  r�test_parse_errorBs
  39  �r)�__doc__rZIPython.utils.PyColorizerrZpytestZfixturerrrrr
  40  r
  41  r
  42  r�<module>s
  43