K i hddlZddlZdezZdezZej dZgdZddgZeefdZ y) 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/stringpict.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/matrices/repmatrix.pyz*/sympy/core/symbol.pyz(*/sympy/parsing/latex/_antlr/__init__.pyz)*/sympy/parsing/tests/test_mathematica.pycd}d}d}|D]}tj||sd}n|D]}tj||sd}d}n|r:t|D]\}} | jd|s|sJt |zyyt|D]\}} | jdy#ttf$rd}YiwxYw#ttf$rJt ||dzfzwxYw)zTest helper function for unicode test The test may have to operate on filewise manner, so it had moved to a separate process. FTascii)encodingN)fnmatch enumerateencodeUnicodeEncodeErrorUnicodeDecodeErrormessage_unicode_Dmessage_unicode_B) fname test_fileunicode_whitelistunicode_strict_whitelist has_unicodeis_in_whitelistis_in_strict_whitelistpattidxlines c/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sympy/testing/quality_unicode.py_test_this_file_encodingr@s2KO"! ??5$ '"O ) ??5$ '%) ""O   "9- #IC # W - # #9 3+e3 35$:{#9- CIC C W - C'(:; #"  #'(:; CB/5#'2BBBu CsB.C.CC#C() rer__file__r r compileencoding_header_rerrrrr sl (*23 -/78  RZZ57$N00(5&Cr