Skip to content

Commit 44faf2c

Browse files
committed
the test will fail
1 parent a295bf5 commit 44faf2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_s3.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_cross_proc(self):
110110

111111
@unittest.skipIf(sys.platform.startswith('win'), "Windows doesn't support fork")
112112
def test_fork_shares_lock(self):
113-
# Mimic the use case from boto3 where a global lock used and the workaround with fork.
113+
# mock the use case from boto3 where a global lock used and the workaround with fork.
114114
global CRT_S3_PROCESS_LOCK
115115
CRT_S3_PROCESS_LOCK = CrossProcessLock(cross_process_lock_name)
116116
CRT_S3_PROCESS_LOCK.acquire()
@@ -677,7 +677,7 @@ def test_fork_workaround(self):
677677
global CRT_S3_CLIENT
678678
CRT_S3_CLIENT = s3_client_new(False, self.region, 5 * MB)
679679
self.upload_with_global_client()
680-
# mimic the boto3 use case where a global client is used and the
680+
# mock the boto3 use case where a global client is used and the
681681
# workaround for fork is to release the client from the fork handler.
682682
os.register_at_fork(before=self.before_fork)
683683

0 commit comments

Comments
 (0)