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

Method test_close

Lib/test/_test_multiprocessing.py:6457–6461  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6455 proc.join()
6456
6457 def test_close(self):
6458 queue = multiprocessing.SimpleQueue()
6459 queue.close()
6460 # closing a queue twice should not fail
6461 queue.close()
6462
6463 # Test specific to CPython since it tests private attributes
6464 @test.support.cpython_only

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
SimpleQueueMethod · 0.80

Tested by

no test coverage detected