Skip to content

Commit

Permalink
Make test more robust on Windows
Browse files Browse the repository at this point in the history
Do not rely on a Microsoft Store installed Python
  • Loading branch information
radoering authored Aug 15, 2024
1 parent 0c23523 commit 6fc2421
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/bundlers/test_venv_bundler.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,7 @@ def test_bundler_should_build_a_venv_at_specified_path_if_centralized_venv_exist
poetry.config.config["virtualenvs"]["path"] = tmp_venv.path

env_manager = EnvManager(poetry)
python_version = str(tmp_venv.marker_env["version_info"][0])
env_manager.activate(python_version)
env_manager.activate(sys.executable)

bundler_venv_path = Path(tmpdir) / "bundler"
bundler = VenvBundler()
Expand Down

0 comments on commit 6fc2421

Please sign in to comment.