From: Benjamin Peterson Date: Fri, 16 Jan 2009 02:55:24 +0000 (+0000) Subject: compare with == not is #4946 X-Git-Tag: v2.7a1~2279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3af601b221cf9769d4fc714492cd9105a8c383a;p=thirdparty%2FPython%2Fcpython.git compare with == not is #4946 --- diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index ec59d7121b1d..69fc6253b4c3 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 % (