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

Method test_shutdown_nonempty

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

Source from the content-addressed store, hash-verified

252 q.get()
253
254 def test_shutdown_nonempty(self):
255 q = self.type2test()
256 q.put("data")
257 q.shutdown()
258 q.get()
259 with self.assertRaises(self.queue.ShutDown):
260 q.get()
261
262 def test_shutdown_immediate(self):
263 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