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

Method test_empty_string

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

Source from the content-addressed store, hash-verified

4068 ALLOWED_TYPES = ('processes', 'threads')
4069
4070 def test_empty_string(self):
4071 a, b = self.Pipe()
4072 self.assertEqual(a.poll(), False)
4073 b.send_bytes(b'')
4074 self.assertEqual(a.poll(), True)
4075 self.assertEqual(a.poll(), True)
4076
4077 @classmethod
4078 def _child_strings(cls, conn, strings):

Callers

nothing calls this directly

Calls 4

PipeMethod · 0.80
assertEqualMethod · 0.45
pollMethod · 0.45
send_bytesMethod · 0.45

Tested by

no test coverage detected