diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py index 75c016e43d3..866f5986a72 100644 --- a/Lib/test/test_re.py +++ b/Lib/test/test_re.py @@ -634,8 +634,8 @@ def test_empty_array(self): def test_inline_flags(self): # Bug #1700 - upper_char = unichr(0x1ea0) # Latin Capital Letter A with Dot Bellow - lower_char = unichr(0x1ea1) # Latin Small Letter A with Dot Bellow + upper_char = chr(0x1ea0) # Latin Capital Letter A with Dot Bellow + lower_char = chr(0x1ea1) # Latin Small Letter A with Dot Bellow p = re.compile(upper_char, re.I | re.U) q = p.match(lower_char)