diff --git a/tests/functional/test_plugins.py b/tests/functional/test_plugins.py index ee5098bb87..d27621a50f 100644 --- a/tests/functional/test_plugins.py +++ b/tests/functional/test_plugins.py @@ -167,7 +167,7 @@ def test_prepare_install(self): f"ape-available>=0.{ape_version.minor},<0.{ape_version.minor + 1}", "--quiet", ] - assert arguments[0].endswith("python") + assert "python" in arguments[0] assert arguments[1:] == expected def test_prepare_install_upgrade(self): @@ -183,7 +183,7 @@ def test_prepare_install_upgrade(self): f"ape-available>=0.{ape_version.minor},<0.{ape_version.minor + 1}", "--quiet", ] - assert arguments[0].endswith("python") + assert "python" in arguments[0] assert arguments[1:] == expected @mark_specifiers_less_than_ape