1
0
mirror of https://github.com/django/django.git synced 2025-02-04 14:37:19 +00:00
django/tests/user_commands
Tainara Palmeira 5064ddb4f9 [5.0.x] Refs #35844 -- Expanded compatibility for expected error messages in command tests on Python 3.12.
Updated CommandTests.test_subparser_invalid_option and CommandDBOptionChoiceTests.test_invalid_choice_db_option to use assertRaisesRegex() for compatibility with modified error messages in Python 3.12, 3.13, and 3.14+..

Backport of fc22fdd34f1e55adde161f5f2dca8db90bbfce80 from main.
2024-10-30 11:28:55 +01:00
..