summaryrefslogtreecommitdiffstats
path: root/Lib/test/test__locale.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-16 02:55:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-01-16 02:55:24 (GMT)
commitb3af601b221cf9769d4fc714492cd9105a8c383a (patch)
tree1ad272eabbe2204b8ee81763b9602b6278c7caf7 /Lib/test/test__locale.py
parentb1a15e489a96f4956a5d6b1305970d13c1e980ed (diff)
downloadcpython-b3af601b221cf9769d4fc714492cd9105a8c383a.zip
cpython-b3af601b221cf9769d4fc714492cd9105a8c383a.tar.gz
cpython-b3af601b221cf9769d4fc714492cd9105a8c383a.tar.bz2
compare with == not is #4946
Diffstat (limited to 'Lib/test/test__locale.py')
-rw-r--r--Lib/test/test__locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py
index ec59d71..69fc625 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 % (