summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-05 21:00:53 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-05 21:00:53 (GMT)
commitf01fe6915b329c1511548e99e0e4d34ac423f9b3 (patch)
treed4bfa259dd2079e02e108155be87ad36e51ffe7c /Lib/test/test_support.py
parentdb02844c3862ae37456d89bc9bd0e7008da7c6dd (diff)
downloadcpython-f01fe6915b329c1511548e99e0e4d34ac423f9b3.zip
cpython-f01fe6915b329c1511548e99e0e4d34ac423f9b3.tar.gz
cpython-f01fe6915b329c1511548e99e0e4d34ac423f9b3.tar.bz2
Fix.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py4
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