From f01fe6915b329c1511548e99e0e4d34ac423f9b3 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 5 Feb 2008 21:00:53 +0000 Subject: Fix. --- Lib/test/test_support.py | 4 ++-- 1 file 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 -- cgit v0.12