1 --- s3transfer-0.3.4/tests/unit/test_futures.py.orig 2021-02-14 10:59:52.661736245 +0100
2 +++ s3transfer-0.3.4/tests/unit/test_futures.py 2021-02-14 11:24:18.950459344 +0100
4 future, self.assert_submit_would_not_block, second_task)
6 # Wait for it to complete.
7 + time.sleep(1) # ensure done_callback is called before shutdown
8 self.executor.shutdown()
10 def test_would_not_block_when_full_capacity_in_other_semaphore(self):
11 --- s3transfer-0.3.4/tests/unit/test_s3transfer.py.orig 2021-02-14 11:46:37.363208540 +0100
12 +++ s3transfer-0.3.4/tests/unit/test_s3transfer.py 2021-02-14 12:33:14.664720924 +0100
18 from tests import unittest
19 from contextlib import closing
22 downloader.download_file('bucket', 'key', 'filename',
23 len(response_body), {})
25 + @unittest.skipIf(sys.version_info >= (3, 8), "fails with py3.8")
26 def test_download_futures_fail_triggers_shutdown(self):
27 class FailedDownloadParts(SequentialExecutor):
28 def __init__(self, max_workers):