Holger Joukl schrieb am 20.09.2017 um 08:19:
ERROR: test_etree_parse_io_error (lxml.tests.test_io.ElementTreeIOTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.6/unittest/case.py", line 605, in run testMethod() File "/scratch/working/lxml-4.0.0/src/lxml/tests/test_io.py", line 276, in test_etree_parse_io_error dn = tempfile.mkdtemp(prefix=dirnameRU) File "/usr/lib/python3.6/tempfile.py", line 368, in mkdtemp _os.mkdir(file, 0o700) UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-18: ordinal not in range(128)
These 2 look a bit like this: https://mailman-mail5.webfaction.com/pipermail/lxml/20141203/015273.html (daily instead of monthly archive now?!)
Which I reported at the time but then forgot to do anything about it :-/.
The original reason in this case was that the test system wasn't UTF-8 and its file system encoding wasn't able to represent some characters in a temp. directory path used in the test.
Yep, that test still isn't all that portable. Stefan