diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-09-10 19:57:31 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-09-10 19:57:31 (GMT) |
commit | d7fb676023fb952db83fe07b559662a5adac493b (patch) | |
tree | acaca24908ea70b34de799d8342f8546b94f1e79 /Lib | |
parent | 62dba4c2775adfb5a5a97ca012a3ab00c4e28597 (diff) | |
download | cpython-d7fb676023fb952db83fe07b559662a5adac493b.zip cpython-d7fb676023fb952db83fe07b559662a5adac493b.tar.gz cpython-d7fb676023fb952db83fe07b559662a5adac493b.tar.bz2 |
Fix inconsistent mix of tabs and spaces that caused test to fail.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test__locale.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index 9c9c9d8..35799e2 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -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" - |