@@ -330,7 +330,7 @@ def report_missing(dir, flist):
330330 missing = list (pyfiles - flist - exclude )
331331 missing .sort ()
332332 if missing :
333- print ('%s files not tested: %s' % (dir , ', ' .join (missing )))
333+ print ('%s files not tested: %s' % (dir , ', ' .join (missing )))
334334
335335
336336def report_all_missing (directories ):
@@ -381,12 +381,12 @@ def drive(backend, directories, python=['python'], switches = []):
381381 for fname in files [d ]]
382382
383383 for fullpath in testcases :
384- print ('\t driving %-40s' % (fullpath )),
384+ print ('\t driving %-40s' % (fullpath ))
385385 sys .stdout .flush ()
386386 fpath , fname = os .path .split (fullpath )
387387
388388 if fname in exclude :
389- print ('\t Skipping %s, known to fail on backend: %s' % backend )
389+ print ('\t Skipping %s, known to fail on backend: %s' % backend )
390390 continue
391391
392392 basename , ext = os .path .splitext (fname )
@@ -430,7 +430,7 @@ def drive(backend, directories, python=['python'], switches = []):
430430 program = [x % {'name' : basename } for x in python ]
431431 ret = run (program + [tmpfile_name ] + switches )
432432 end_time = time .time ()
433- print ("%s %s" % ((end_time - start_time ), ret ))
433+ print ("%s %s" % ((end_time - start_time ), ret ))
434434 #os.system('%s %s %s' % (python, tmpfile_name, ' '.join(switches)))
435435 os .remove (tmpfile_name )
436436 if ret :
@@ -478,7 +478,7 @@ def parse_options():
478478 switches = switches )
479479 if 'pylab_examples' in result .dirs :
480480 result .dirs [result .dirs .index ('pylab_examples' )] = 'pylab'
481- #print result
481+ #print( result)
482482 return (result )
483483
484484if __name__ == '__main__' :
@@ -492,14 +492,14 @@ def parse_options():
492492 for d in localdirs :
493493 if d .lower () not in all_backends_set :
494494 continue
495- print ('removing %s' % d )
495+ print ('removing %s' % d )
496496 for fname in glob .glob (os .path .join (d , '*' )):
497497 os .remove (fname )
498498 os .rmdir (d )
499499 for fname in glob .glob ('_tmp*.py' ):
500500 os .remove (fname )
501501
502- print ('all clean...' )
502+ print ('all clean...' )
503503 raise SystemExit
504504 if options .coverage :
505505 python = ['coverage.py' , '-x' ]
@@ -513,19 +513,19 @@ def parse_options():
513513
514514 report_all_missing (options .dirs )
515515 for backend in options .backends :
516- print ('testing %s %s' % (backend , ' ' .join (options .switches )))
516+ print ('testing %s %s' % (backend , ' ' .join (options .switches )))
517517 t0 = time .time ()
518518 failures [backend ] = \
519519 drive (backend , options .dirs , python , options .switches )
520520 t1 = time .time ()
521521 times [backend ] = (t1 - t0 )/ 60.0
522522
523- # print times
523+ #print( times)
524524 for backend , elapsed in times .items ():
525- print ('Backend %s took %1.2f minutes to complete' % (backend , elapsed ))
525+ print ('Backend %s took %1.2f minutes to complete' % (backend , elapsed ))
526526 failed = failures [backend ]
527527 if failed :
528- print (' Failures: %s' % failed )
528+ print (' Failures: %s' % failed )
529529 if 'template' in times :
530- print ('\t template ratio %1.3f, template residual %1.3f' % (
530+ print ('\t template ratio %1.3f, template residual %1.3f' % (
531531 elapsed / times ['template' ], elapsed - times ['template' ]))
0 commit comments