[Python-checkins] r75756 - in python/branches/release26-maint: Lib/test/test__locale.py

georg.brandl python-checkins at python.org
Tue Oct 27 14:16:08 CET 2009


Author: georg.brandl
Date: Tue Oct 27 14:16:07 2009
New Revision: 75756

Log:
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
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/test/test__locale.py

Modified: python/branches/release26-maint/Lib/test/test__locale.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test__locale.py	(original)
+++ python/branches/release26-maint/Lib/test/test__locale.py	Tue Oct 27 14:16:07 2009
@@ -45,7 +45,7 @@
         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 % (


More information about the Python-checkins mailing list