MCPcopy Index your code
hub / github.com/python/cpython / test_basic

Method test_basic

Lib/test/test_queue.py:207–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205 self.fail("Did not detect task count going negative")
206
207 def test_basic(self):
208 # Do it a couple of times on the same queue.
209 # Done twice to make sure works with same instance reused.
210 q = self.type2test(QUEUE_SIZE)
211 self.basic_queue_test(q)
212 self.basic_queue_test(q)
213
214 def test_negative_timeout_raises_exception(self):
215 q = self.type2test(QUEUE_SIZE)

Callers

nothing calls this directly

Calls 2

basic_queue_testMethod · 0.95
type2testMethod · 0.80

Tested by

no test coverage detected