summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_optparse.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-27 02:43:25 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-10-27 02:43:25 (GMT)
commit10d59f3fa155ca75e7cad1550e5d9d194a75afbb (patch)
tree1f2d64f979998bbc1e7bf4483f0a720e9a777a21 /Lib/test/test_optparse.py
parentf1af9c089634b84c1dbbdabed35cd2d43cf6ff04 (diff)
downloadcpython-10d59f3fa155ca75e7cad1550e5d9d194a75afbb.zip
cpython-10d59f3fa155ca75e7cad1550e5d9d194a75afbb.tar.gz
cpython-10d59f3fa155ca75e7cad1550e5d9d194a75afbb.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_optparse.py')
-rw-r--r--Lib/test/test_optparse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py
index c02dd10..cf83d75 100644
--- a/Lib/test/test_optparse.py
+++ b/Lib/test/test_optparse.py
@@ -398,7 +398,7 @@ class TestTypeAliases(BaseTest):
self.assertEquals(self.parser.get_option("-x").type, "int")
self.assertEquals(self.parser.get_option("-s").type, "string")
self.assertEquals(self.parser.get_option("-t").type, "string")
-
+
# Custom type for testing processing of default values.
_time_units = { 's' : 1, 'm' : 60, 'h' : 60*60, 'd' : 60*60*24 }
@@ -554,7 +554,7 @@ options:
default=None,
help=self.file_help)
self.assertHelp(self.parser, self.expected_help_none)
-
+
def test_default_none_2(self):
self.parser.add_option("-f", "--file",
help=self.file_help)
@@ -1397,7 +1397,7 @@ class TestHelp(BaseTest):
help="store FOO in the foo list for later fooing"),
]
os.environ['COLUMNS'] = str(columns)
- return InterceptingOptionParser(option_list=options)
+ return InterceptingOptionParser(option_list=options)
def assertHelpEquals(self, expected_output):
save_argv = sys.argv[:]
@@ -1463,7 +1463,7 @@ options:
""")
-
+
class TestMatchAbbrev(BaseTest):
def test_match_abbrev(self):