diff options
author | Georg Brandl <georg@python.org> | 2009-10-27 13:16:07 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-10-27 13:16:07 +0000 |
commit | 65fdff977d13eea1bb5ed25d0dddbd5181ca27fe (patch) | |
tree | 32791ce25a472a85425a86bde77ea863086964bc | |
parent | 804e4b8f0f81d96fe2adc940034db62722a6feba (diff) | |
download | cpython-git-65fdff977d13eea1bb5ed25d0dddbd5181ca27fe.tar.gz |
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
........
-rw-r--r-- | Lib/test/test__locale.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index ec59d7121b..69fc6253b4 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 = "<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 % ( |