diff --git a/conans/client/graph/compatibility.py b/conans/client/graph/compatibility.py index ddfe1e50134..a16166aaf71 100644 --- a/conans/client/graph/compatibility.py +++ b/conans/client/graph/compatibility.py @@ -98,7 +98,7 @@ def _should_migrate_file(file_path): if _should_migrate_file(compatibility_file) and _should_migrate_file(cppstd_compat_file): if os.path.exists(compatibility_file) and load(compatibility_file) != _default_compat: - ConanOutput().success("Migration: Successfully updated compatibility.py}") + ConanOutput().success("Migration: Successfully updated compatibility.py") save(compatibility_file, _default_compat) if os.path.exists(cppstd_compat_file): os.remove(cppstd_compat_file) diff --git a/test/integration/test_migrations.py b/test/integration/test_migrations.py index 5392ab1b9c8..7e9441b4b99 100644 --- a/test/integration/test_migrations.py +++ b/test/integration/test_migrations.py @@ -82,7 +82,7 @@ def test_migration_profile_checker_plugin(plugin_path, string_replace, new_strin # Trigger the migrations t2.run("list") assert "WARN: Running 2.0.14 Cache DB migration to add LRU column" in t2.out - assert f"Migration: Successfully updated" not in t2.out + assert "Migration: Successfully updated" not in t2.out contents = load(profile_plugin_path2) # Our Changes are kept! assert "This file is from ACME corp, " in contents