From a5705181f34d1646f0574284fe644039c9e0640b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Oct 2024 15:36:48 +0200 Subject: [PATCH] Fix tests: Always return from prepend_env_var_path No idea why this only fails in tests, but it does. Fixes https://github.com/fedora-python/tox-current-env/issues/75 --- src/tox_current_env/hooks4.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tox_current_env/hooks4.py b/src/tox_current_env/hooks4.py index 5d629f8..d2a9f1d 100644 --- a/src/tox_current_env/hooks4.py +++ b/src/tox_current_env/hooks4.py @@ -261,6 +261,10 @@ class PrintEnv(CurrentEnv): ) self.options.print_extras_to.flush() + # https://github.com/fedora-python/tox-current-env/issues/75 + return super().prepend_env_var_path() + + @staticmethod def id(): return "print-env"