]> granicus.if.org Git - python/commitdiff
Fixed unichr() -> chr()
authorChristian Heimes <christian@cheimes.de>
Fri, 4 Jan 2008 00:47:51 +0000 (00:47 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 4 Jan 2008 00:47:51 +0000 (00:47 +0000)
Lib/test/test_re.py

index 75c016e43d3091102c6be6baea75bf8ab87c9567..866f5986a72dbe77ccdd069a67ed4fda8c9b269a 100644 (file)
@@ -634,8 +634,8 @@ class ReTests(unittest.TestCase):
 
     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)