From 19504a6b9dd6d00d64be545d2429494181bb7ec7 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Mon, 15 Aug 2022 00:11:01 +0900 Subject: [PATCH] mark failing tests again --- Lib/test/test_socket.py | 7 +++++++ Lib/test/test_socketserver.py | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 80ba3d5f3..d6cba6b8b 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -958,6 +958,8 @@ class GeneralModuleTests(unittest.TestCase): 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): @@ -2190,6 +2192,8 @@ class J1939Test(unittest.TestCase): 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): @@ -2231,6 +2235,8 @@ class J1939Test(unittest.TestCase): 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: @@ -6207,6 +6213,7 @@ class SendfileUsingSendTest(ThreadedTCPSocketTest): sent = meth(file) self.assertEqual(sent, self.FILESIZE) + @unittest.skip("TODO: RUSTPYTHON") def testWithTimeout(self): conn = self.accept_conn() data = self.recv_data(conn) diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 0d089edc9..92b0ad71c 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -521,8 +521,6 @@ class MiscTestCase(unittest.TestCase): 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