summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 % (