summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorkasey <kstein257@gmail.com>2026-05-12 00:15:15 -0500
committerJacob Walls <jacobtylerwalls@gmail.com>2026-05-12 15:16:42 -0400
commited13a58bf63df94508c8a0fe779da0b6a2bc26bb (patch)
treee3bc176ed18991a6de0c4feed148eab0ddc3763a /tests/admin_scripts
parenta83236560ea90e3dc457d215322b55db8ee16c7d (diff)
Fixed #37096 -- Fixed test_invalid_choice_db_option on Python 3.14.5+.
Diffstat (limited to 'tests/admin_scripts')
-rw-r--r--tests/admin_scripts/tests.py3
1 files changed, 2 insertions, 1 deletions
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 = (