diff options
author | Guido van Rossum <guido@python.org> | 2007-05-17 20:58:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-17 20:58:33 (GMT) |
commit | f40e5762cc57f6228c23643b110932305cf6b15c (patch) | |
tree | 94ce2dc7c8ceb98af69e9d757602937ec4a407a2 /Lib | |
parent | af199faa9bcbe73753224f174075693bd98b64ea (diff) | |
download | cpython-f40e5762cc57f6228c23643b110932305cf6b15c.zip cpython-f40e5762cc57f6228c23643b110932305cf6b15c.tar.gz cpython-f40e5762cc57f6228c23643b110932305cf6b15c.tar.bz2 |
Make test__locale pass. Stupid bug in the original code: used 'is' for '=='.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test__locale.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index ec59d71..69fc625 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -45,7 +45,7 @@ class _LocaleTests(unittest.TestCase): except Error: set_locale = "<not able to determine>" known_value = known_numerics.get(used_locale, - ('', ''))[data_type is 'thousands_sep'] + ('', ''))[data_type == 'thousands_sep'] if known_value and calc_value: self.assertEquals(calc_value, known_value, self.lc_numeric_err_msg % ( |