(self)
| 112 | con.restore() |
| 113 | |
| 114 | def test_wrap(self): |
| 115 | code = "12+34" |
| 116 | events = code_to_events(code) |
| 117 | _, con = self.handle_events_narrow(events) |
| 118 | con.out.write.assert_any_call(b"1") |
| 119 | con.out.write.assert_any_call(b"2") |
| 120 | con.out.write.assert_any_call(b"+") |
| 121 | con.out.write.assert_any_call(b"3") |
| 122 | con.out.write.assert_any_call(b"\\") |
| 123 | con.out.write.assert_any_call(b"\n") |
| 124 | con.out.write.assert_any_call(b"4") |
| 125 | con.restore() |
| 126 | |
| 127 | def test_resize_wider(self): |
| 128 | code = "1234567890" |
nothing calls this directly
no test coverage detected