mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Whitespace normalization.
This commit is contained in:
parent
bf7e241397
commit
669454e9dc
5 changed files with 44 additions and 44 deletions
|
@ -37,7 +37,7 @@ class TestPlistlib(unittest.TestCase):
|
|||
else:
|
||||
pl['aDate'] = plistlib.Date(time.mktime(time.gmtime()))
|
||||
return pl
|
||||
|
||||
|
||||
def test_create(self):
|
||||
pl = self._create()
|
||||
self.assertEqual(pl["aString"], "Doodah")
|
||||
|
@ -47,7 +47,7 @@ class TestPlistlib(unittest.TestCase):
|
|||
pl = self._create()
|
||||
pl.write(test_support.TESTFN)
|
||||
pl2 = plistlib.Plist.fromFile(test_support.TESTFN)
|
||||
self.assertEqual(dict(pl), dict(pl2))
|
||||
self.assertEqual(dict(pl), dict(pl2))
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -191,7 +191,7 @@ class UnicodeMiscTest(UnicodeDatabaseTest):
|
|||
|
||||
def test_digit_numeric_consistent(self):
|
||||
# Test that digit and numeric are consistent,
|
||||
# i.e. if a character has a digit value,
|
||||
# i.e. if a character has a digit value,
|
||||
# it's numeric value should be the same.
|
||||
count = 0
|
||||
for i in xrange(0x10000):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue