[Python-Dev] What is test__locale supposed to test, anyhow? (original) (raw)

Brett C. bac at OCF.Berkeley.EDU
Wed Jul 14 03🔞03 CEST 2004


Martin v. Löwis wrote:

Nick Bastin wrote:

test_locale, as written, tests that the data we get from nllanginfo() 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 nllanginfo matches the emulated localeconv for the LCNUMERIC category. These days, we are not supposed to emulate LCNUMERIC 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