[Python-Dev] What is test__locale supposed to test, anyhow?
Brett C.
bac at OCF.Berkeley.EDU
Wed Jul 14 03:18:03 CEST 2004
Martin v. Löwis wrote:
> Nick Bastin wrote:
>
>> test__locale, as written, tests that the data we get from
>> nl_langinfo() matches the data acquired from localeconv(), but it
>> doesn't actually make sure that any part of this data is correct. Is
>> this intentional?
>
>
> Yes, see python.org/sf/798145. The test checks that the emulated
> nl_langinfo matches the emulated localeconv for the LC_NUMERIC category.
>
> These days, we are not supposed to emulate LC_NUMERIC anymore, so the
> test is somewhat pointless now.
>
So are you suggesting the test go away?
-Brett
More information about the Python-Dev
mailing list