From dc9475c26b33464638d748568e94ae607de0459e Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Sun, 4 Jan 2026 00:12:56 -0500 Subject: [PATCH] Mark flaky tests in test_ftplib --- Lib/test/test_ftplib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index 2488f64a2..684f5d438 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py @@ -971,6 +971,7 @@ class TestTLS_FTPClass(TestCase): LIST_DATA.encode(self.client.encoding)) self.assertEqual(self.client.voidresp(), "226 transfer complete") + @unittest.skip('TODO: RUSTPYTHON flaky TimeoutError') def test_login(self): # login() is supposed to implicitly secure the control connection self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) @@ -983,6 +984,7 @@ class TestTLS_FTPClass(TestCase): self.client.auth() self.assertRaises(ValueError, self.client.auth) + @unittest.skip('TODO: RUSTPYTHON flaky TimeoutError') def test_context(self): self.client.quit() ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)