This commit is contained in:
Emilio Graff 2023-07-28 12:55:50 -07:00
parent 54b2d982f3
commit f404eb5735

View file

@ -113,6 +113,6 @@ def test_rmtree_read_only_directories(tmpdir):
def test_cmd_output_utf8(fn):
"""Makes sure `cmd_output_*` works if the command being
run outputs UTF8 characters."""
ret, out, _ = fn(f'{sys.executable}', '-c', 'print("")')
ret, out, _ = fn(f'{sys.executable}', '-c', 'print("")', check=False)
assert ret == 0
assert out.strip().decode() == ''