X Tutup
Skip to content

Commit 999d151

Browse files
committed
Fixed failing tests
* Removed expectedFailureIf for test_repr_rlock in `_test_multiprocessing.py` * Added unittest.expectedFailure to test_rename and test_delete in `test_ftplib.py`
1 parent b1d8e54 commit 999d151

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,6 @@ def _acquire_release(lock, timeout, l=None, n=1):
14591459
for _ in range(n):
14601460
lock.release()
14611461

1462-
@unittest.expectedFailureIf(sys.platform == "darwin", "TODO: RUSTPYTHON")
14631462
def test_repr_rlock(self):
14641463
if self.TYPE != 'processes':
14651464
self.skipTest('test not appropriate for {}'.format(self.TYPE))

Lib/test/test_ftplib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,13 @@ def test_login(self):
558558
def test_acct(self):
559559
self.client.acct('passwd')
560560

561+
@unittest.expectedFailure # TODO: RUSTPYTHON; TimeoutError: The read operation timed out
561562
def test_rename(self):
562563
self.client.rename('a', 'b')
563564
self.server.handler_instance.next_response = '200'
564565
self.assertRaises(ftplib.error_reply, self.client.rename, 'a', 'b')
565566

567+
@unittest.expectedFailure # TODO: RUSTPYTHON; TimeoutError: The read operation timed out
566568
def test_delete(self):
567569
self.client.delete('foo')
568570
self.server.handler_instance.next_response = '199'

0 commit comments

Comments
 (0)
X Tutup