Commit d7fb6760 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix inconsistent mix of tabs and spaces that caused test to fail.

parent 62dba4c2
......@@ -17,18 +17,17 @@ for loc in candidate_locales:
try:
setlocale(LC_NUMERIC, loc)
except Error:
continue
continue
if verbose:
print "locale %r" % loc
print "locale %r" % loc
saw_locale = 1
nl_radixchar = nl_langinfo(RADIXCHAR)
li_radixchar = localeconv()['decimal_point']
if nl_radixchar != li_radixchar:
print "%r != %r" % (nl_radixchar, li_radixchar)
print "%r != %r" % (nl_radixchar, li_radixchar)
nl_radixchar = nl_langinfo(THOUSEP)
li_radixchar = localeconv()['thousands_sep']
if nl_radixchar != li_radixchar:
print "%r != %r" % (nl_radixchar, li_radixchar)
print "%r != %r" % (nl_radixchar, li_radixchar)
if not saw_locale:
raise ImportError, "None of the listed locales found"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment