[Python-3000-checkins] r59690 - python/branches/py3k/Lib/test/test_re.py
christian.heimes
python-3000-checkins at python.org
Fri Jan 4 01:47:51 CET 2008
Author: christian.heimes
Date: Fri Jan 4 01:47:51 2008
New Revision: 59690
Modified:
python/branches/py3k/Lib/test/test_re.py
Log:
Fixed unichr() -> chr()
Modified: python/branches/py3k/Lib/test/test_re.py
==============================================================================
--- python/branches/py3k/Lib/test/test_re.py (original)
+++ python/branches/py3k/Lib/test/test_re.py Fri Jan 4 01:47:51 2008
@@ -634,8 +634,8 @@
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)
More information about the Python-3000-checkins
mailing list