skip tests on non windows platforms

This commit is contained in:
AN Long 2023-11-23 22:52:01 +08:00
parent 3f7259fa7d
commit 619ef2205f

View file

@ -6421,6 +6421,7 @@ def meth_from_sock(self, sock):
return getattr(sock, "_sendfile_use_sendfile")
@unittest.skipUnless(sys.platform == "win32", "Windows only test.")
class SendfileUsingTransmitfileTest(SendfileUsingSendTest):
"""
Test the TransmitFile() implementation of socket.sendfile().