mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Whitespace normalization.
This commit is contained in:
parent
8a57f00081
commit
e0c446bb4a
19 changed files with 62 additions and 69 deletions
|
@ -24,4 +24,3 @@ compileFile(filename)
|
|||
from transformer import parse, parseFile
|
||||
from visitor import walk
|
||||
from pycodegen import compile, compileFile
|
||||
|
||||
|
|
|
@ -70,4 +70,3 @@ if __name__ == "__main__":
|
|||
walk(tree, v)
|
||||
print v.found
|
||||
print
|
||||
|
||||
|
|
|
@ -72,4 +72,3 @@ def set_filename(filename, tree):
|
|||
node = worklist.pop(0)
|
||||
node.filename = filename
|
||||
worklist.extend(node.getChildNodes())
|
||||
|
||||
|
|
|
@ -113,4 +113,3 @@ else:
|
|||
|
||||
# Verify the treatment of Unicode strings
|
||||
verify(binascii.hexlify(u'a') == '61', "hexlify failed for Unicode")
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ class TestLongHeaders(unittest.TestCase):
|
|||
self.assertEqual(sfp.getvalue(), """\
|
||||
From: test@dom.ain
|
||||
References: <0@dom.ain> <1@dom.ain> <2@dom.ain> <3@dom.ain> <4@dom.ain>
|
||||
<5@dom.ain> <6@dom.ain> <7@dom.ain> <8@dom.ain> <9@dom.ain>
|
||||
\t<5@dom.ain> <6@dom.ain> <7@dom.ain> <8@dom.ain> <9@dom.ain>
|
||||
|
||||
Test""")
|
||||
|
||||
|
|
|
@ -25,6 +25,3 @@ socket.RAND_add("this is a random string", 75.0)
|
|||
f = urllib.urlopen('https://sf.net')
|
||||
buf = f.read()
|
||||
f.close()
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue