diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-04-12 16:28:15 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-04-12 16:28:15 (GMT) |
commit | 7ca49361131ddeabe584b5fa3b53250d5ce9123c (patch) | |
tree | 568b9e8d5d94c44d949d16550ab08bad41aa0ee5 | |
parent | 3121e32952fad83a90fc20bbd408fcbb603e5fb3 (diff) | |
download | cpython-7ca49361131ddeabe584b5fa3b53250d5ce9123c.zip cpython-7ca49361131ddeabe584b5fa3b53250d5ce9123c.tar.gz cpython-7ca49361131ddeabe584b5fa3b53250d5ce9123c.tar.bz2 |
attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595
-rw-r--r-- | 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 index 9b6d184..4693ea5 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -657,9 +657,9 @@ class GeneralModuleTests(unittest.TestCase): 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)) |