mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Whitespace normalization.
This commit is contained in:
parent
2ee8099bd8
commit
0e9980f75a
7 changed files with 26 additions and 26 deletions
|
@ -104,7 +104,7 @@ class ReTests(unittest.TestCase):
|
|||
|
||||
self.assertEqual(re.sub('x', r'\400', 'x'), '\0')
|
||||
self.assertEqual(re.sub('x', r'\777', 'x'), '\377')
|
||||
|
||||
|
||||
self.assertRaises(re.error, re.sub, 'x', r'\1', 'x')
|
||||
self.assertRaises(re.error, re.sub, 'x', r'\8', 'x')
|
||||
self.assertRaises(re.error, re.sub, 'x', r'\9', 'x')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue