diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-03-18 14:47:21 +0100 |
---|---|---|
committer | Pradyun Gedam <pradyunsg@gmail.com> | 2023-03-27 11:55:20 +0100 |
commit | 04e1ab071d303157b0fd6fa68508a8ef95c931c9 (patch) | |
tree | bc08f6a4be24c1712fb16fb117716268c33b2f00 /tests | |
parent | a38865597dcdb4f00187a95bbe98e861b78eceee (diff) | |
download | pip-04e1ab071d303157b0fd6fa68508a8ef95c931c9.tar.gz |
Update test_install_package_that_emits_unicode
Adapt to the removal of the setup.py install code path.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/packages/BrokenEmitsUTF8/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/packages/BrokenEmitsUTF8/setup.py b/tests/data/packages/BrokenEmitsUTF8/setup.py index a40bc60c1..eb4ebf2d3 100644 --- a/tests/data/packages/BrokenEmitsUTF8/setup.py +++ b/tests/data/packages/BrokenEmitsUTF8/setup.py @@ -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") |