(self)
| 53 | self.assert_writes([b"hello world\n"]) |
| 54 | |
| 55 | def test_buffered_str(self): |
| 56 | self.log.write("h") |
| 57 | self.log.write("ello") |
| 58 | self.log.write(" ") |
| 59 | self.log.write("world\n") |
| 60 | self.log.write("goodbye.") |
| 61 | self.log.flush() |
| 62 | |
| 63 | self.assert_writes([b"hello world\n", b"goodbye."]) |
| 64 | |
| 65 | def test_manual_flush(self): |
| 66 | self.log.write("Hello") |
nothing calls this directly
no test coverage detected