From f754b6d115638a9e764cb7dbfe695ffbf73912da Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Tue, 13 Apr 2021 20:08:06 +0200 Subject: [PATCH] tests: use env.python instead of env._bin("python") --- tests/masonry/builders/test_editable_builder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/masonry/builders/test_editable_builder.py b/tests/masonry/builders/test_editable_builder.py index 86ae73ece5b..6fb0a07a445 100644 --- a/tests/masonry/builders/test_editable_builder.py +++ b/tests/masonry/builders/test_editable_builder.py @@ -153,7 +153,7 @@ def test_builder_installs_proper_files_for_standard_packages(simple_poetry, tmp_ if __name__ == '__main__': baz.boom.bim() """.format( - python=tmp_venv._bin("python") + python=tmp_venv.python ) assert baz_script == tmp_venv._bin_dir.joinpath("baz").read_text() @@ -165,7 +165,7 @@ def test_builder_installs_proper_files_for_standard_packages(simple_poetry, tmp_ if __name__ == '__main__': bar() """.format( - python=tmp_venv._bin("python") + python=tmp_venv.python ) assert foo_script == tmp_venv._bin_dir.joinpath("foo").read_text() @@ -177,7 +177,7 @@ def test_builder_installs_proper_files_for_standard_packages(simple_poetry, tmp_ if __name__ == '__main__': bar.baz() """.format( - python=tmp_venv._bin("python") + python=tmp_venv.python ) assert fox_script == tmp_venv._bin_dir.joinpath("fox").read_text()