Open qjtongkai opened 5 years ago
What is the exact error you get ?
∂
is explicitly an uncommon unicode character that is meant to make sure we properly handle non western languages.
Error occurs when I run test cases:
ImportError while loading conftest '/srv/src/notebook/notebook/tests/selenium/conftest.py'. /opt/tljh/user/lib/python3.6/ast.py:35: in parse return compile(source, filename, mode, PyCF_ONLY_AST) E File "/srv/src/notebook/notebook/tests/selenium/conftest.py", line 39 E SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0x88 in position 4: invalid start byte
Is this character for testing non western languages? My host is on language english.
What is the exact error you get ?
∂
is explicitly an uncommon unicode character that is meant to make sure we properly handle non western languages.
I run test for notebook in my environment and found problem when process test for selenium, notebook extension, etc. It looks like a spelling problem:
My machine can not decode ' ∂ir' and raise errors. There also are other files which contain this characher. I wonder how the tests passed for other env. Does the '∂' has special meaning? I change it to 'a' to pass these tests.
If '∂' has some special meanings and needs extra setting in hosts please notice me while if not I can submit a patch to fix it.
files contains this character: