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

Method test_close

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

Source from the content-addressed store, hash-verified

6066 proc.join()
6067
6068 def test_close(self):
6069 queue = multiprocessing.SimpleQueue()
6070 queue.close()
6071 # closing a queue twice should not fail
6072 queue.close()
6073
6074 # Test specific to CPython since it tests private attributes
6075 @test.support.cpython_only

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
SimpleQueueMethod · 0.80

Tested by

no test coverage detected