commit | 0c2ff0898db2db9cd9c643dfadbff11761bacf5f | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <pitrou@free.fr> | Wed May 03 00:14:29 2017 +0200 |
committer | GitHub <noreply@github.com> | Wed May 03 00:14:29 2017 +0200 |
tree | 088ce426f1f31178b6a3e1c7f1db78b3074c9bb3 | |
parent | 4dae0d111dd7bb34ec730eea2327a3219acff211 [diff] |
Backport bpo-30205 to 3.6 (#1403)
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 2497e47..80dfc40 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py
@@ -4660,6 +4660,10 @@ 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)