[Python-checkins] python/dist/src/Lib/test test_optparse.py, 1.9,
1.10 test_traceback.py, 1.9, 1.10
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Wed Oct 27 04:43:27 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17603/Lib/test
Modified Files:
test_optparse.py test_traceback.py
Log Message:
Whitespace normalization.
Index: test_optparse.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_optparse.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- test_optparse.py 27 Oct 2004 02:20:04 -0000 1.9
+++ test_optparse.py 27 Oct 2004 02:43:25 -0000 1.10
@@ -398,7 +398,7 @@
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 @@
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 @@
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 @@
""")
-
+
class TestMatchAbbrev(BaseTest):
def test_match_abbrev(self):
Index: test_traceback.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_traceback.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- test_traceback.py 27 Oct 2004 02:33:15 -0000 1.9
+++ test_traceback.py 27 Oct 2004 02:43:25 -0000 1.10
@@ -67,7 +67,7 @@
try:
test_bug737473.test()
except ValueError:
- # this loads source code to linecache
+ # this loads source code to linecache
traceback.extract_tb(sys.exc_traceback)
print >> open(testfile, 'w'), """\
More information about the Python-checkins
mailing list