forked from pool/python-Django
https://code.djangoproject.com/ticket/33082 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=91
16 lines
578 B
Diff
16 lines
578 B
Diff
---
|
|
tests/user_commands/tests.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/tests/user_commands/tests.py
|
|
+++ b/tests/user_commands/tests.py
|
|
@@ -334,7 +334,7 @@ class CommandTests(SimpleTestCase):
|
|
self.assertIn('bar', out.getvalue())
|
|
|
|
def test_subparser_invalid_option(self):
|
|
- msg = "Error: invalid choice: 'test' (choose from 'foo')"
|
|
+ msg = "invalid choice: 'test' (choose from 'foo')"
|
|
with self.assertRaisesMessage(CommandError, msg):
|
|
management.call_command('subparser', 'test', 12)
|
|
if PY37:
|