MCPcopy Create free account
hub / github.com/celery/celery / setup_method

Method setup_method

t/unit/concurrency/test_gevent.py:59–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57class test_TaskPool:
58
59 def setup_method(self):
60 self.patching.modules(*gevent_modules)
61 self.spawn_raw = self.patching('gevent.spawn_raw')
62 self.Pool = self.patching('gevent.pool.Pool')
63
64 def test_pool(self):
65 x = TaskPool(1)

Callers

nothing calls this directly

Calls 1

modulesMethod · 0.45

Tested by

no test coverage detected