commit | 3debab29c37fd08d2aca481b2bccd1c45f1ceea6 | [log] [tgz] |
---|---|---|
author | Chris Liechti <cliechti@gmx.net> | Mon Jun 20 22:52:22 2016 +0200 |
committer | Chris Liechti <cliechti@gmx.net> | Mon Jun 20 22:52:22 2016 +0200 |
tree | f5c796ecc8a55fea9a4ee2784d69060a554807b5 | |
parent | 9e60ac771deb58fbfabfd1e3ee258e74265eac7f [diff] [blame] |
style: use .format() instead of % formatting
diff --git a/test/test_advanced.py b/test/test_advanced.py index 19559b2..f91baba 100644 --- a/test/test_advanced.py +++ b/test/test_advanced.py
@@ -179,7 +179,7 @@ sys.stdout.write(__doc__) if len(sys.argv) > 1: PORT = sys.argv[1] - sys.stdout.write("Testing port: %r\n" % PORT) + sys.stdout.write("Testing port: {!r}\n".format(PORT)) sys.argv[1:] = ['-v'] # When this module is executed from the command-line, it runs all its tests unittest.main()