mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Fixed unichr() -> chr()
This commit is contained in:
parent
d6179e120d
commit
2e1d0f00a4
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue