Source

pygame / test_runner.py

Diff from to

test_runner.py

 ################################################################################
 
-#TODO: clean up imports
-
 import test.unittest as unittest
 
 import sys, os, re, StringIO, time, optparse
               "Run test T times, giving average time")
 
 opt_parser.add_option (
-     "-e",  "--exclude",
+     "-e",  "--exclude", default = '',
      help   = "exclude tests containing any of TAGS" )
 
 opt_parser.add_option (
             # would this effect the original dict? TODO
             results['raw_return'] = ''.join(raw_return.splitlines(1)[:5])
             failures.append( COMPLETE_FAILURE_TEMPLATE % results )
-            all_dot += 'E'
+            all_dots += 'E'
             continue
 
         dots = DOTS.search(output).group(1)
 
     test = unittest.defaultTestLoader.loadTestsFromName(module)
     suite.addTest(test)
-        
+
     output = StringIO.StringIO()
     runner = unittest.TextTestRunner(stream = output)