Commits

Anonymous committed ccb41c1

honing in on the run_tests.py clone

Comments (0)

Files changed (1)

 t = time.time() - t
 
 ################################################################################
-# Output results
+# Output results ( mimicking run_tests.py)
 
 all_dots = ''
 failures = []
 total_tests = len(all_dots)
 
 print all_dots
-if failures: print '\n'.join(failures).lstrip('\n')
+if failures: print ''.join(failures).lstrip('\n')[:-1]
 print "%s %s tests in %.3fs\n" % (RAN_TESTS_DIV, total_tests, t)
 
 if not failures:
         total_errors and ["errors=%s"  % total_errors] or [] + 
         complete_failures and ["complete_failures=%s" % complete_failures] or []
     )
-    
+
 ################################################################################