Skip to content

Commit

Permalink
Attempt to fix test for Windows py11
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-n committed Nov 13, 2022
1 parent 45f6498 commit 4cd3d99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_executors.py
Expand Up @@ -88,7 +88,11 @@ def test_detect_venv(
assert result.stdout.startswith("poe_test_package found at ")
if is_windows:
assert result.stdout.endswith(
f"\\tests\\fixtures\\simple_project\\venv\\lib\\site-packages\\poe_test_package\\__init__.py\n"
(
f"\\tests\\fixtures\\simple_project\\venv\\lib\\site-packages\\poe_test_package\\__init__.py\n",
# Lib has a captital with python >=11
f"\\tests\\fixtures\\simple_project\\venv\\Lib\\site-packages\\poe_test_package\\__init__.py\n",
)
)
else:
assert result.stdout.endswith(
Expand Down

0 comments on commit 4cd3d99

Please sign in to comment.