From 6df3e4ba029cc465bf28030767190d6af55c5402 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 9 Sep 2026 04:07:30 +0000 Subject: [PATCH] test: align postgres precision error assertion text Co-authored-by: genichin <4282227+genichin@users.noreply.github.com> --- tests/test_bat025_portfolio_ledger_manual_metadata_migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py b/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py index 0c276ff..5ab4c55 100644 --- a/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py +++ b/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py @@ -344,7 +344,7 @@ def test_dividend_large_integer_with_8dp_is_rejected_to_protect_double_snapshot( repo = _repo(isolated_settings) portfolio_id = _seed_portfolio(repo, "double-snapshot-guard") - with pytest.raises(ValueError, match="double snapshot precision"): + with pytest.raises(ValueError, match="DOUBLE PRECISION snapshot"): repo.record_manual_ledger( portfolio_id, action="DIVIDEND",