]> granicus.if.org Git - python/commit
bpo-32002: Refactor C locale coercion tests (GH-4369)
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 16 Dec 2017 08:51:19 +0000 (21:51 +1300)
committerGitHub <noreply@github.com>
Sat, 16 Dec 2017 08:51:19 +0000 (21:51 +1300)
commit9c19b020249c451891affd81751947321a1e6957
tree59839ab0d81327eae6937ffd3f0513ea64b7e87e
parent0c644fcda095b12eedfb417f15429795c09196b6
bpo-32002: Refactor C locale coercion tests (GH-4369)

Exactly which locale requests will end up giving
you the "C" locale is actually platform dependent.

A blank locale and "POSIX" will translate to "C"
on most Linux distros, but may not do so on other platforms, so this adjusts the way the tests are structured to better account for that.

This is an initial step towards fixing the current
test failure on Cygwin (hence the issue reference)
Lib/test/test_c_locale_coercion.py
Misc/NEWS.d/next/Tests/2017-11-11-16-35-18.bpo-32002.itDxIo.rst [new file with mode: 0644]