Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mark failing tests again
  • Loading branch information
youknowone committed Aug 14, 2022
commit 19504a6b9dd6d00d64be545d2429494181bb7ec7
7 changes: 7 additions & 0 deletions Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,8 @@ def testWindowsSpecificConstants(self):
socket.IPPROTO_L2TP
socket.IPPROTO_SCTP

# TODO: RUSTPYTHON
@unittest.expectedFailure
@unittest.skipUnless(sys.platform == 'darwin', 'macOS specific test')
@unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test')
def test3542SocketOptions(self):
Expand Down Expand Up @@ -2190,6 +2192,8 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.interface = "vcan0"

# TODO: RUSTPYTHON
@unittest.expectedFailure
@unittest.skipUnless(hasattr(socket, "CAN_J1939"),
'socket.CAN_J1939 required for this test.')
def testJ1939Constants(self):
Expand Down Expand Up @@ -2231,6 +2235,8 @@ def testCreateJ1939Socket(self):
with socket.socket(socket.PF_CAN, socket.SOCK_DGRAM, socket.CAN_J1939) as s:
pass

# TODO: RUSTPYTHON
@unittest.expectedFailure
def testBind(self):
try:
with socket.socket(socket.PF_CAN, socket.SOCK_DGRAM, socket.CAN_J1939) as s:
Expand Down Expand Up @@ -6207,6 +6213,7 @@ def _testWithTimeout(self):
sent = meth(file)
self.assertEqual(sent, self.FILESIZE)

@unittest.skip("TODO: RUSTPYTHON")
def testWithTimeout(self):
conn = self.accept_conn()
data = self.recv_data(conn)
Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_socketserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,6 @@ def shutdown_request(self, request):
self.assertEqual(server.shutdown_called, 1)
server.server_close()

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_threads_reaped(self):
"""
In #37193, users reported a memory leak
Expand Down