Skip test_abort() since MSG_OOB doesn't work properly on Cygwin. The
server gets b'\n' and then b'ABOR\r', instead of getting b'ABOR\r\n'.
import io
import errno
import os
+import sys
import threading
import time
import unittest
# Ensure the connection gets closed; sock attribute should be None
self.assertEqual(self.client.sock, None)
+ @unittest.skipIf(sys.platform == 'cygwin',
+ "MSG_OOB doesn't work properly on Cygwin")
def test_abort(self):
self.client.abort()