Mark flaky tests in test_ftplib

This commit is contained in:
Padraic Fanning
2026-01-04 00:12:56 -05:00
parent 34fe0f2770
commit dc9475c26b

View File

@@ -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)