mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595
This commit is contained in:
parent
3121e32952
commit
7ca4936113
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue