Message247418
Yes, I were testing on a Linux machine and forgot that results are OS depending.
I agree, that test should less depend on implementation details. As far as _locale._getdefaultlocale is defined only on Windows and "UTF-8" is not valid locale on Windows, I think there is no need to patch _locale for testing. But getlocale() and getpreferredencoding() should be consistent with getdefaultlocale() (and getlocale() is yet one way to test private function _parse_localename()). setlocale() should work with the result of getlocale() and getdefaultlocale(). Are following tests passed on OSX? |
|
Date |
User |
Action |
Args |
2015-07-26 09:00:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, barry-scott, ronaldoussoren, vstinner, ned.deily, r.david.murray, Dmitry.Jemerov |
2015-07-26 09:00:45 | serhiy.storchaka | set | messageid: <1437901245.77.0.225062996504.issue18378@psf.upfronthosting.co.za> |
2015-07-26 09:00:45 | serhiy.storchaka | link | issue18378 messages |
2015-07-26 09:00:45 | serhiy.storchaka | create | |
|