From 65fdff977d13eea1bb5ed25d0dddbd5181ca27fe Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 27 Oct 2009 13:16:07 +0000 Subject: [PATCH] Merged revisions 68628 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68628 | benjamin.peterson | 2009-01-16 03:55:24 +0100 (Fr, 16 Jan 2009) | 1 line compare with == not is #4946 ........ --- Lib/test/test__locale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index ec59d7121b1..69fc6253b4c 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 = "" 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 % (