[Bug 51182] New: test_write_console() fails in conhost:tty on Windows 1909