summaryrefslogtreecommitdiff
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
parenta83236560ea90e3dc457d215322b55db8ee16c7d (diff)
Fixed #37096 -- Fixed test_invalid_choice_db_option on Python 3.14.5+.
-rw-r--r--AUTHORS1
-rw-r--r--tests/admin_scripts/tests.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index a752a2e0e8..2c8d5a9845 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -598,6 +598,7 @@ answer newbie questions, and generally made Django that much better:
Karderio <karderio@gmail.com>
Karen Tracey <kmtracey@gmail.com>
Karol Sikora <elektrrrus@gmail.com>
+ Kasey Steinhauer <kstein257@gmail.com>
Kasun Herath <kasunh01@gmail.com>
Katherine “Kati” Michel <kthrnmichel@gmail.com>
Kathryn Killebrew <kathryn.killebrew@gmail.com>
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 = (