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

Method test_writes

Lib/test/test_io/test_bufferedio.py:730–731  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

728 self.assertEqual(contents, b"".join(writer._write_stack))
729
730 def test_writes(self):
731 self.check_writes(lambda bufio: None)
732
733 def test_writes_and_flushes(self):
734 self.check_writes(lambda bufio: bufio.flush())

Callers

nothing calls this directly

Calls 1

check_writesMethod · 0.95

Tested by

no test coverage detected