diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_support.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 17307c8..0fd5d88 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -118,8 +118,8 @@ def bind_port(sock, host='', preferred_port=54321): (err, msg) = e.args if err != errno.EADDRINUSE: raise - print(' WARNING: failed to listen on port %d, trying another' % - (port, file=sys.__stderr__)) + print(' WARNING: failed to listen on port %d, ' % port + + 'trying another', file=sys.__stderr__) raise TestFailed('unable to find port to listen on') FUZZ = 1e-6 |