xref: /llvm-project/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py (revision 15b5c8b2069a025566f13c4a81339c6f687ee312)
1#!/usr/bin/env python
2
3import sys
4
5getattr(sys.stdout, "buffer", sys.stdout).write(b"a line with bad encoding: \xc2.")
6sys.stdout.flush()
7