Skip to content
Myr

turn 2 prints to py2/py3 compatible syntax (#1812)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Frédéric Chapoton · committed by David Lord · parent 88500f5 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:scripts/flaskext_tester.py+2 added-2 removed
110 unmodified lines
111'''112113114def log(msg, *args):115 print '[EXTTEST]', msg % args115 print('[EXTTEST] ' + (msg % args))116117118class TestResult(object):119
181 unmodified lines
301 filename = render_results(results, only_approved)302 if args.browse:303 import webbrowser304 webbrowser.open('file:///' + filename.lstrip('/'))305 print 'Results written to', filename305 print('Results written to {}'.format(filename))306307308if __name__ == '__main__':309 main()