This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, vstinner
Date 2018-04-25.14:16:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524665786.6.0.682650639539.issue33354@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-04-25 14:16:26vstinnersetrecipients: + vstinner, christian.heimes
2018-04-25 14:16:26vstinnersetmessageid: <1524665786.6.0.682650639539.issue33354@psf.upfronthosting.co.za>
2018-04-25 14:16:26vstinnerlinkissue33354 messages
2018-04-25 14:16:26vstinnercreate