mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
skip tests on non windows platforms
This commit is contained in:
parent
3f7259fa7d
commit
619ef2205f
1 changed files with 1 additions and 0 deletions
|
|
@ -6421,6 +6421,7 @@ def meth_from_sock(self, sock):
|
||||||
return getattr(sock, "_sendfile_use_sendfile")
|
return getattr(sock, "_sendfile_use_sendfile")
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipUnless(sys.platform == "win32", "Windows only test.")
|
||||||
class SendfileUsingTransmitfileTest(SendfileUsingSendTest):
|
class SendfileUsingTransmitfileTest(SendfileUsingSendTest):
|
||||||
"""
|
"""
|
||||||
Test the TransmitFile() implementation of socket.sendfile().
|
Test the TransmitFile() implementation of socket.sendfile().
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue