[Patches] [ python-Patches-1197218 ] test_locale fix on modern linux

SourceForge.net noreply at sourceforge.net
Fri Jun 3 16:56:31 CEST 2005


Patches item #1197218, was opened at 2005-05-07 13:58
Message generated for change (Settings changed) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1197218&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
>Assigned to: Anthony Baxter (anthonybaxter)
Summary: test_locale fix on modern linux

Initial Comment:
At least on this Linux (Ubuntu Hoary), test_locale
fails because en_US is not a valid locale. en_US.UTF-8
is, tho.

This patch makes the test_locale try each of
en_US.UTF-8, en_US.US-ASCII, and en_US in turn, failing
only if none of them work. 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1197218&group_id=5470


More information about the Patches mailing list