Skip to content

Commit 9e05fc1

Browse files
authored
Merge pull request #10796 from pradyunsg/try-fixing-test-suite
2 parents f197d3a + 764d884 commit 9e05fc1

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- "src/pip/_vendor/**"
4343
- "pyproject.toml"
4444
tests:
45-
# Anything that's touching testable stuff
45+
# Anything that's touching code-related stuff
4646
- ".github/workflows/ci.yml"
4747
- "src/**"
4848
- "tests/**"

noxfile.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,14 @@ def test(session: nox.Session) -> None:
110110
# Run the tests
111111
# LC_CTYPE is set to get UTF-8 output inside of the subprocesses that our
112112
# tests use.
113-
session.run("pytest", *arguments, env={"LC_CTYPE": "en_US.UTF-8"})
113+
session.run(
114+
"pytest",
115+
*arguments,
116+
env={
117+
"LC_CTYPE": "en_US.UTF-8",
118+
"SETUPTOOLS_USE_DISTUTILS": "stdlib",
119+
},
120+
)
114121

115122

116123
@nox.session

0 commit comments

Comments
 (0)