summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStéphane Bidoul <stephane.bidoul@gmail.com>2023-03-18 14:47:21 +0100
committerPradyun Gedam <pradyunsg@gmail.com>2023-03-27 11:55:20 +0100
commit04e1ab071d303157b0fd6fa68508a8ef95c931c9 (patch)
treebc08f6a4be24c1712fb16fb117716268c33b2f00 /tests
parenta38865597dcdb4f00187a95bbe98e861b78eceee (diff)
downloadpip-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.py2
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")