Message315735
The issue is not specific to FreeBSD, it depends on the locale (on the Python filesystem encoding).
I reproduced the issue on Linux:
vstinner@apu$ LC_ALL=C ./python -m test test_ssl
Run tests sequentially
0:00:00 load avg: 0.27 [1/1] test_ssl
test test_ssl failed -- Traceback (most recent call last):
File "/home/vstinner/prog/python/2.7/Lib/test/test_ssl.py", line 1005, in test_load_dh_params
shutil.copy(DHFILE, fname)
File "/home/vstinner/prog/python/2.7/Lib/shutil.py", line 131, in copy
if os.path.isdir(dst):
File "/home/vstinner/prog/python/2.7/Lib/genericpath.py", line 49, in isdir
st = os.stat(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 18: ordinal not in range(128)
1 test failed:
test_ssl
Total duration: 1 sec
Tests result: FAILURE |
|
Date |
User |
Action |
Args |
2018-04-25 14:16:26 | vstinner | set | recipients:
+ vstinner, christian.heimes |
2018-04-25 14:16:26 | vstinner | set | messageid: <1524665786.6.0.682650639539.issue33354@psf.upfronthosting.co.za> |
2018-04-25 14:16:26 | vstinner | link | issue33354 messages |
2018-04-25 14:16:26 | vstinner | create | |
|