[Python-checkins] cpython: attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595
giampaolo.rodola
python-checkins at python.org
Fri Apr 12 18:28:30 CEST 2013
http://hg.python.org/cpython/rev/e68bd20b5434
changeset: 83274:e68bd20b5434
user: Giampaolo Rodola' <g.rodola at gmail.com>
date: Fri Apr 12 18:28:15 2013 +0200
summary:
attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595
files:
Lib/test/test_socket.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -657,9 +657,9 @@
self.assertIn('family=%i' % socket.AF_INET, repr(s))
self.assertIn('type=%i' % socket.SOCK_STREAM, repr(s))
self.assertIn('proto=0', repr(s))
- self.assertIn('laddr', repr(s))
self.assertNotIn('raddr', repr(s))
s.bind(('127.0.0.1', 0))
+ self.assertIn('laddr', repr(s))
self.assertIn(str(s.getsockname()), repr(s))
self.assertIn('[closed]', repr(s))
self.assertNotIn('laddr', repr(s))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list