MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_basic

Method test_basic

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

Source from the content-addressed store, hash-verified

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