]> granicus.if.org Git - python/commitdiff
Merged revisions 68628 via svnmerge from
authorGeorg Brandl <georg@python.org>
Tue, 27 Oct 2009 13:16:07 +0000 (13:16 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 27 Oct 2009 13:16:07 +0000 (13:16 +0000)
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

index ec59d7121b1d3c01169e4073d7f4443c589989d5..69fc6253b4c3cafd2e1e783767af674583703eb3 100644 (file)
@@ -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 % (