From d9f9802e938cbc5718afa980d2d4dbc7d68ffd87 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 25 Sep 2024 11:08:27 +0200 Subject: [PATCH] Set a nonexistent HOME for tests (don't read ~/.pypirc) Fixes: #1121 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 63749427..5a85ef42 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,8 @@ deps = setuptools passenv = PYTEST_ADDOPTS +setenv = + HOME=/tmp/nonexistent commands = python -m coverage run -m pytest {posargs} python -m coverage html