diff --git a/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py b/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py index ca7ef295..20ea9869 100644 --- a/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py +++ b/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py @@ -55,7 +55,10 @@ def test_passes_when_versions_match( _invoke_main(module, version="1.0.0") captured = capsys.readouterr() - assert "all versions match 1.0.0" in captured.out + assert ( + captured.out.strip() + == "Checked 1 PEP 621 project file(s); all versions match 1.0.0." + ) def test_fails_on_mismatch(