mirror of https://github.com/python/cpython
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 ........
This commit is contained in:
parent
804e4b8f0f
commit
65fdff977d
|
@ -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 % (
|
||||
|
|
Loading…
Reference in New Issue