U
    9%e                     @   sj   d dl Z d dlZde Zde Ze dZddddd	d
dddddddddddgZddgZeefddZ	dS )    NzlFile contains a unicode character : %s, line %s. But not in the whitelist. Add the file to the whitelist in znFile does not contain a unicode character : %s.but is in the whitelist. Remove the file from the whitelist in z.^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+)z*/bin/authors_update.pyz*/bin/mailmap_check.pyz**/sympy/testing/tests/test_code_quality.pyz-*/sympy/physics/vector/tests/test_printing.pyz(*/physics/quantum/tests/test_printing.pyz%*/sympy/vector/tests/test_printing.pyz**/sympy/parsing/tests/test_sympy_parser.pyz,*/sympy/printing/pretty/tests/test_pretty.pyz**/sympy/printing/tests/test_conventions.pyz&*/sympy/printing/tests/test_preview.pyz*/liealgebras/type_g.pyz*/liealgebras/weyl_group.pyz"*/liealgebras/tests/test_type_G.pyz*/sympy/physics/wigner.pyz&*/sympy/physics/optics/polarization.pyz"*/sympy/physics/mechanics/joint.pyz&*/sympy/polys/matrices/domainmatrix.pyz(*/sympy/parsing/latex/_antlr/__init__.pyz)*/sympy/parsing/tests/test_mathematica.pyc           
   
   C   s  d}d}d}|D ]}t  | |rd} q*q|D ]}t  | |r.d}d} qLq.|rt|D ]6\}}	z|	jdd W qX ttfk
r   d}Y qXX qX|s|sdstt|  nTt|D ]J\}}	z|	jdd W q ttfk
r   dstt| |d f Y qX qdS )zTest helper function for unicode test

    The test may have to operate on filewise manner, so it had moved
    to a separate process.
    FTascii)encoding   N)fnmatch	enumerateencodeUnicodeEncodeErrorUnicodeDecodeErrorAssertionErrormessage_unicode_Dmessage_unicode_B)
fnameZ	test_fileunicode_whitelistunicode_strict_whitelistZhas_unicodeZis_in_whitelistZis_in_strict_whitelistpattidxline r   \/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/sympy/testing/quality_unicode.py_test_this_file_encoding;   s2    	r   )
rer   __file__r   r   compileZencoding_header_rer   r   r   r   r   r   r   <module>   sH   "	