diff --git a/docs/examples.md b/docs/examples.md index 9985cfa578..78b9458386 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -154,5 +154,5 @@ One use of the upgrade-shared command is to force a `pip` upgrade. Another use of the upgrade-shared command is to pin (temporarily) `pip` to a specific version. ```shell -> pipx upgrade-shared --pip-args='pip==24.0' +> pipx upgrade-shared --pip-args=pip==24.0 ``` diff --git a/tests/test_upgrade_shared.py b/tests/test_upgrade_shared.py index 73f1e96256..025839f2d9 100644 --- a/tests/test_upgrade_shared.py +++ b/tests/test_upgrade_shared.py @@ -53,10 +53,10 @@ def pip_version(): assert shared_libs.has_been_updated_this_run is False assert shared_libs.is_valid is False - assert run_pipx_cli(["upgrade-shared", "-v", "--pip-args='pip==24.0'"]) == 0 + assert run_pipx_cli(["upgrade-shared", "-v", "--pip-args=pip==24.0"]) == 0 assert shared_libs.is_valid is True assert pip_version() == "24.0" shared_libs.has_been_updated_this_run = False # reset for next run - assert run_pipx_cli(["upgrade-shared", "-v", "--pip-args='pip==23.3.2'"]) == 0 + assert run_pipx_cli(["upgrade-shared", "-v", "--pip-args=pip==23.3.2"]) == 0 assert shared_libs.is_valid is True assert pip_version() == "23.3.2"