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

Method test_closed

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

Source from the content-addressed store, hash-verified

6074 # Test specific to CPython since it tests private attributes
6075 @test.support.cpython_only
6076 def test_closed(self):
6077 queue = multiprocessing.SimpleQueue()
6078 queue.close()
6079 self.assertTrue(queue._reader.closed)
6080 self.assertTrue(queue._writer.closed)
6081
6082
6083class TestPoolNotLeakOnFailure(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
SimpleQueueMethod · 0.80
assertTrueMethod · 0.80

Tested by

no test coverage detected