python/dist/src/Lib/test test_optparse.py, 1.5, 1.6

Update of /cvsroot/python/python/dist/src/Lib/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25454/Lib/test Modified Files: test_optparse.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.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** test_optparse.py 31 Jul 2004 21:14:28 -0000 1.5 --- test_optparse.py 31 Jul 2004 21:17:37 -0000 1.6 *************** *** 60,64 **** expected_exception, expected_output, ! get_output=None, exact_match=False): """Assert the expected exception is raised when calling a function. --- 60,64 ---- expected_exception, expected_output, ! get_output=None, exact_match=False): """Assert the expected exception is raised when calling a function. *************** *** 347,351 **** 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. --- 347,351 ---- 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. *************** *** 504,508 **** help=self.file_help) self.assertHelp(self.parser, self.expected_help_none) ! def test_default_none_2(self): self.parser.add_option("-f", "--file", --- 504,508 ---- help=self.file_help) self.assertHelp(self.parser, self.expected_help_none) ! def test_default_none_2(self): self.parser.add_option("-f", "--file", *************** *** 1376,1380 **** ] os.environ['COLUMNS'] = str(columns) ! return OptionParser(option_list=options) def assertHelpEquals(self, expected_output): --- 1376,1380 ---- ] os.environ['COLUMNS'] = str(columns) ! return OptionParser(option_list=options) def assertHelpEquals(self, expected_output): *************** *** 1442,1446 **** ! class TestMatchAbbrev(BaseTest): --- 1442,1446 ---- ! class TestMatchAbbrev(BaseTest):
participants (1)
-
tim_oneļ¼ users.sourceforge.net