From: Georg Brandl Date: Tue, 5 Feb 2008 21:00:53 +0000 (+0000) Subject: Fix. X-Git-Tag: v3.0a3~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f01fe6915b329c1511548e99e0e4d34ac423f9b3;p=python Fix. --- diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 17307c8d44..0fd5d88547 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