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

Method test_writes

Lib/test/test_io.py:1947–1948  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1945 self.assertEqual(contents, b"".join(writer._write_stack))
1946
1947 def test_writes(self):
1948 self.check_writes(lambda bufio: None)
1949
1950 def test_writes_and_flushes(self):
1951 self.check_writes(lambda bufio: bufio.flush())

Callers

nothing calls this directly

Calls 1

check_writesMethod · 0.95

Tested by

no test coverage detected