summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-04 00:47:51 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-04 00:47:51 (GMT)
commit2e1d0f00a4899f5371b3c3147951461b4c2ebd52 (patch)
tree7fd6bf8279aef82e9c4dae095e4556f3e7261e9a
parentd6179e120d3ed98ec28cb5e4b6feabed2d670235 (diff)
downloadcpython-2e1d0f00a4899f5371b3c3147951461b4c2ebd52.zip
cpython-2e1d0f00a4899f5371b3c3147951461b4c2ebd52.tar.gz
cpython-2e1d0f00a4899f5371b3c3147951461b4c2ebd52.tar.bz2
Fixed unichr() -> chr()
-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 75c016e..866f598 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -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)