Update test_install_package_that_emits_unicode

Adapt to the removal of the setup.py install code path.
This commit is contained in:
Stéphane Bidoul 2023-03-18 14:47:21 +01:00 committed by Pradyun Gedam
parent a38865597d
commit 04e1ab071d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class FakeError(Exception):
pass
if sys.argv[1] == "install":
if sys.argv[1] in ("install", "bdist_wheel"):
if hasattr(sys.stdout, "buffer"):
sys.stdout.buffer.write(
"\nThis package prints out UTF-8 stuff like:\n".encode("utf-8")