commit | d39dca9e33e6be0d234184eb1527c00ec04f8857 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@wyplay.com> | Wed Aug 28 12:28:18 2013 +0200 |
committer | Victor Stinner <vstinner@wyplay.com> | Wed Aug 28 12:28:18 2013 +0200 |
tree | 288675383913933b32d12ae96d0b229d1bf51d88 | |
parent | bff989ed201d9b566881705aa876300845390a7d [diff] |
Fix test_socket.test_SOCK_CLOEXEC(), the test was wrong
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index c7b9ba8..81b2876 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py
@@ -4759,7 +4759,7 @@ with socket.socket(socket.AF_INET, socket.SOCK_STREAM | socket.SOCK_CLOEXEC) as s: self.assertTrue(s.type & socket.SOCK_CLOEXEC) - self.assertTrue(sock.get_inheritable()) + self.assertFalse(s.get_inheritable()) def test_default_inheritable(self): sock = socket.socket()