From c353b2e56e133d4513740f0f1f538101250620d0 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 14 Dec 2023 16:19:31 +0000 Subject: [PATCH] We pre-date envpy() --- Lib/test/test_venv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index f41e2fee2d9ec8..97a3d9f4288ea4 100644 --- a/Lib/test/test_venv.py +++ b/Lib/test/test_venv.py @@ -281,7 +281,7 @@ def test_sysconfig(self): out, err = check_output(cmd, encoding='utf-8') self.assertEqual(out.strip(), expected, err) for attr, expected in ( - ('executable', self.envpy()), + ('executable', envpy), # Usually compare to sys.executable, but if we're running in our own # venv then we really need to compare to our base executable ('_base_executable', sys._base_executable), @@ -314,7 +314,7 @@ def test_sysconfig_symlinks(self): out, err = check_output(cmd, encoding='utf-8') self.assertEqual(out.strip(), expected, err) for attr, expected in ( - ('executable', self.envpy()), + ('executable', envpy), # Usually compare to sys.executable, but if we're running in our own # venv then we really need to compare to our base executable ('_base_executable', sys._base_executable),