mirror of
https://github.com/python/cpython.git
synced 2025-10-05 06:31:48 +00:00
Backport bpo-30205 to 3.6 (#1403)
This commit is contained in:
parent
4dae0d111d
commit
0c2ff0898d
3 changed files with 9 additions and 3 deletions
|
@ -4660,6 +4660,10 @@ class TestUnixDomain(unittest.TestCase):
|
|||
else:
|
||||
raise
|
||||
|
||||
def testUnbound(self):
|
||||
# Issue #30205
|
||||
self.assertIn(self.sock.getsockname(), ('', None))
|
||||
|
||||
def testStrAddr(self):
|
||||
# Test binding to and retrieving a normal string pathname.
|
||||
path = os.path.abspath(support.TESTFN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue