summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-11-11 19:13:28 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-11-11 19:13:28 (GMT)
commitab14088141ab749763e35b7a49e79c368940e12d (patch)
tree0369f9a136bfea659c24b0cf9fedf2ee98272308 /Lib/test/test_re.py
parent9a64ccb997a99f85c2538047823c7478bfcff6ed (diff)
downloadcpython-ab14088141ab749763e35b7a49e79c368940e12d.zip
cpython-ab14088141ab749763e35b7a49e79c368940e12d.tar.gz
cpython-ab14088141ab749763e35b7a49e79c368940e12d.tar.bz2
Minor code clean up and improvements in the re module.
Diffstat (limited to 'Lib/test/test_re.py')
-rw-r--r--Lib/test/test_re.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index b30abad..7bc1e93 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -1101,8 +1101,8 @@ class ReTests(unittest.TestCase):
def test_inline_flags(self):
# Bug #1700
- upper_char = chr(0x1ea0) # Latin Capital Letter A with Dot Bellow
- lower_char = chr(0x1ea1) # Latin Small Letter A with Dot Bellow
+ upper_char = '\u1ea0' # Latin Capital Letter A with Dot Below
+ lower_char = '\u1ea1' # Latin Small Letter A with Dot Below
p = re.compile(upper_char, re.I | re.U)
q = p.match(lower_char)