[Python-3000-checkins] r60608 - python/branches/py3k/Lib/test/test_support.py

georg.brandl python-3000-checkins at python.org
Tue Feb 5 22:00:53 CET 2008


Author: georg.brandl
Date: Tue Feb  5 22:00:53 2008
New Revision: 60608

Modified:
   python/branches/py3k/Lib/test/test_support.py
Log:
Fix.


Modified: python/branches/py3k/Lib/test/test_support.py
==============================================================================
--- python/branches/py3k/Lib/test/test_support.py	(original)
+++ python/branches/py3k/Lib/test/test_support.py	Tue Feb  5 22:00:53 2008
@@ -118,8 +118,8 @@
             (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


More information about the Python-3000-checkins mailing list