Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

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

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


tim_one at users

Jul 31, 2004, 2:18 PM

Post #1 of 1 (178 views)
Permalink
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):

_______________________________________________
Python-checkins mailing list
Python-checkins [at] python
http://mail.python.org/mailman/listinfo/python-checkins

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.