Commit Graph

3 Commits

Author SHA1 Message Date
Joel Brobecker
7ce38d4803 testsuite/lib/utils.py: Fix various flake8 violations
This commit fixes the following flake8 violations:

    utils.py:7:1: E302 expected 2 blank lines, found 1
    utils.py:24:1: E302 expected 2 blank lines, found 1
    utils.py:33:1: W391 blank line at end of file

Change-Id: I925809e1b0baa21c726bc2096ba3edb242e2f688
2020-11-23 12:11:49 +01:00
Simon Marchi
a2909b2c8d Convert print statements to print function
In preparation for the transition to Python 3, convert to using the
print function.  The special import

    from __future__ import print_function

in Python 2.7 makes "print" become the function and not the statement.
In Python 3, it has no effect.  Once the transition is done and we
exclusively use Python 3, we can simply remove the imports.

The testsuite shows no regressions.
2020-11-22 19:29:38 -05:00
Joel Brobecker
5810363c92 Partial implementation, with a testsuite infrastructure.
Very little is currently implemented, but this should be a good start.
2012-04-27 13:44:51 -07:00