MCPcopy Index your code
hub / github.com/aws/aws-cli / setUp

Method setUp

tests/unit/s3transfer/test_utils.py:896–897  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

894
895class TestTaskSemaphore(unittest.TestCase):
896 def setUp(self):
897 self.semaphore = TaskSemaphore(1)
898
899 def test_should_block_at_max_capacity(self):
900 self.semaphore.acquire('a', blocking=False)

Callers

nothing calls this directly

Calls 1

TaskSemaphoreClass · 0.90

Tested by

no test coverage detected