From bf900a5c7c5cf6cc8547188960a659b218712e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 8 Dec 2022 18:53:22 +0100 Subject: [PATCH] Clear PYTHONPATH when executing tox in tests Partial fix for https://github.com/fedora-python/tox-current-env/issues/52 --- tests/fixtures/tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/fixtures/tox.ini b/tests/fixtures/tox.ini index 6d3f448..b93defa 100644 --- a/tests/fixtures/tox.ini +++ b/tests/fixtures/tox.ini @@ -12,3 +12,7 @@ extras = full commands = python -c 'import os, sys; print(os.path.realpath(sys.exec_prefix), "is the exec_prefix")' +# we explicitly clear this because the inner tox does not need to know +# see https://github.com/fedora-python/tox-current-env/issues/52 +setenv = + PYTHONPATH=