From ed13a58bf63df94508c8a0fe779da0b6a2bc26bb Mon Sep 17 00:00:00 2001 From: kasey Date: Tue, 12 May 2026 00:15:15 -0500 Subject: Fixed #37096 -- Fixed test_invalid_choice_db_option on Python 3.14.5+. --- tests/admin_scripts/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/admin_scripts') diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 114d819847..914f54720c 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -2450,7 +2450,8 @@ class CommandDBOptionChoiceTests(SimpleTestCase): if PY314: expected_error = ( r"Error: argument --database: invalid choice: 'deflaut', " - r"maybe you meant 'default'\? \(choose from default, other\)" + r"maybe you meant 'default'\? " + r"\(choose from '?default'?, '?other'?\)" ) else: expected_error = ( -- cgit v1.3