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

Method test_shutdown_nonempty

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

Source from the content-addressed store, hash-verified

250 q.get()
251
252 def test_shutdown_nonempty(self):
253 q = self.type2test()
254 q.put("data")
255 q.shutdown()
256 q.get()
257 with self.assertRaises(self.queue.ShutDown):
258 q.get()
259
260 def test_shutdown_immediate(self):
261 q = self.type2test()

Callers

nothing calls this directly

Calls 5

type2testMethod · 0.80
putMethod · 0.45
shutdownMethod · 0.45
getMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected