mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Whitespace normalization.
This commit is contained in:
parent
bf7e241397
commit
669454e9dc
5 changed files with 44 additions and 44 deletions
|
|
@ -15,7 +15,7 @@ class UnicodeNamesTest(unittest.TestCase):
|
|||
|
||||
def checkletter(self, name, code):
|
||||
# Helper that put all \N escapes inside eval'd raw strings,
|
||||
# to make sure this script runs even if the compiler
|
||||
# to make sure this script runs even if the compiler
|
||||
# chokes on \N escapes
|
||||
res = eval(ur'u"\N{%s}"' % name)
|
||||
self.assertEqual(res, code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue