Commits

Anonymous committed 8389c4d

- Typo in message for TestCase.failIfEqual()
- Removed unused variable 'opts' in TestProgram.__init__ (thanks to PyChecker)

  • Participants
  • Parent commits b2840a3
  • Branches legacy-trunk

Comments (0)

Files changed (1)

            operator.
         """
         if first == second:
-            raise self.failureException, (msg or '%s != %s' % (first, second))
+            raise self.failureException, (msg or '%s == %s' % (first, second))
 
     assertEqual = assertEquals = failUnlessEqual
 
         try:
             options, args = getopt.getopt(argv[1:], 'hHvq',
                                           ['help','verbose','quiet'])
-            opts = {}
             for opt, value in options:
                 if opt in ('-h','-H','--help'):
                     self.usageExit()