[Python-checkins] cpython (merge 3.4 -> default): Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.

serhiy.storchaka python-checkins at python.org
Wed Nov 19 12:24:41 CET 2014


https://hg.python.org/cpython/rev/23ab1197df0b
changeset:   93513:23ab1197df0b
parent:      93511:d5b36edeecdb
parent:      93512:fb06c8ccfd41
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Wed Nov 19 13:21:40 2014 +0200
summary:
  Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.
Patch by David Watson.

files:
  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
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -2221,7 +2221,7 @@
     # Linux supports MSG_DONTWAIT when sending, but in general, it
     # only works when receiving.  Could add other platforms if they
     # support it too.
-    @skipWithClientIf(sys.platform not in {"linux2"},
+    @skipWithClientIf(sys.platform not in {"linux"},
                       "MSG_DONTWAIT not known to work on this platform when "
                       "sending")
     def testSendmsgDontWait(self):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list