def test_Queues_pool_not_rlimit_safe(self): w = Mock() w.pool_cls.rlimit_safe = False Queues(w).create(w) self.assertTrue(w.disable_rate_limits)
def test_Queues_pool_no_sem(self): w = Mock() w.pool_cls.uses_semaphore = False Queues(w).create(w) self.assertIs(w.ready_queue.put, w.process_task)
def test_Queues_pool_no_sem(self): raise SkipTest('disabled until v3.1') w = Mock() w.pool_cls.uses_semaphore = False Queues(w).create(w) self.assertIs(w.ready_queue.put, w.process_task)