[Python-checkins] CVS: python/dist/src/Lib unittest.py,1.6,1.7

Steve Purcell purcell@users.sourceforge.net
Sun, 15 Apr 2001 02:18:35 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv13782

Modified Files:
	unittest.py 
Log Message:
- Typo in message for TestCase.failIfEqual()
- Removed unused variable 'opts' in TestProgram.__init__ (thanks to PyChecker)


Index: unittest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/unittest.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** unittest.py	2001/04/13 05:37:27	1.6
--- unittest.py	2001/04/15 09:18:32	1.7
***************
*** 278,282 ****
          """
          if first == second:
!             raise self.failureException, (msg or '%s != %s' % (first, second))
  
      assertEqual = assertEquals = failUnlessEqual
--- 278,282 ----
          """
          if first == second:
!             raise self.failureException, (msg or '%s == %s' % (first, second))
  
      assertEqual = assertEquals = failUnlessEqual
***************
*** 673,677 ****
              options, args = getopt.getopt(argv[1:], 'hHvq',
                                            ['help','verbose','quiet'])
-             opts = {}
              for opt, value in options:
                  if opt in ('-h','-H','--help'):
--- 673,676 ----