def METHOD_NAME(self):
    # Test that reading less than 1 full character works when stdin
    # contains multibyte UTF-8 sequences
    source = 'ϼўТλФЙ\r\n'.encode('utf-16-le')
    expected = 'ϼўТλФЙ\r\n'.encode('utf-8')
    for read_count in range(1, 16):
        with open('CONIN$', 'rb', buffering=0) as stdin:
            write_input(stdin, source)
            actual = b''
            while not actual.endswith(b'\n'):
                b = stdin.read(read_count)
                actual += b
            self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count))