diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-04-20 17:45:13 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-04-20 17:45:13 (GMT) |
commit | e890682e521ad90eac91196d151b796edf00c3fa (patch) | |
tree | 34080b2f88fe8cb5c1ec28627b3cf631bac40fa8 | |
parent | c8d907c60bacc4b08c03a71a6b714765df9e879d (diff) | |
download | cpython-e890682e521ad90eac91196d151b796edf00c3fa.zip cpython-e890682e521ad90eac91196d151b796edf00c3fa.tar.gz cpython-e890682e521ad90eac91196d151b796edf00c3fa.tar.bz2 |
Whitespace normalization.
-rw-r--r-- | Lib/test/test_compiler.py | 2 | ||||
-rw-r--r-- | Lib/test/test_parser.py | 2 | ||||
-rw-r--r-- | Mac/OSX/Doc/setup.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index d9a3cb8..32302a1 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py @@ -35,7 +35,7 @@ class CompilerTest(unittest.TestCase): def testNewClassSyntax(self): compiler.compile("class foo():pass\n\n","<string>","exec") - + def testLineNo(self): # Test that all nodes except Module have a correct lineno attribute. filename = __file__ diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index bd81aca..205c406 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -129,7 +129,7 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase): def test_class_defs(self): self.check_suite("class foo():pass") - + def test_import_from_statement(self): self.check_suite("from sys.path import *") self.check_suite("from sys.path import dirname") diff --git a/Mac/OSX/Doc/setup.py b/Mac/OSX/Doc/setup.py index ee17226..bd86a20 100644 --- a/Mac/OSX/Doc/setup.py +++ b/Mac/OSX/Doc/setup.py @@ -57,7 +57,7 @@ class DocBuild(build): (self.doc_version,self.doc_version) tarfile = 'html-%s.tar.bz2' % self.doc_version dirname = 'Python-Docs-%s' % self.doc_version - + if os.path.exists(self.build_html): raise RuntimeError, '%s: already exists, please remove and try again' % self.build_html os.chdir(self.build_base) |