Skip to content

Commit

Permalink
We pre-date envpy()
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Dec 14, 2023
1 parent 23703a9 commit c353b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit c353b2e

Please sign in to comment.