From e68baf386219ab64539ba5cef628811be03fdb84 Mon Sep 17 00:00:00 2001 From: Дилян Палаузов Date: Mon, 6 Nov 2017 22:11:39 -0500 Subject: [2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments. Backport of 6c0042430e3618ce5c276d195d92a6b884daa3a3 from master --- tests/auth_tests/test_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auth_tests') diff --git a/tests/auth_tests/test_checks.py b/tests/auth_tests/test_checks.py index 3f86e7a80e..8c3e323efa 100644 --- a/tests/auth_tests/test_checks.py +++ b/tests/auth_tests/test_checks.py @@ -57,8 +57,8 @@ class UserModelChecksTests(SimpleTestCase): @override_settings(AUTH_USER_MODEL='auth_tests.CustomUserNonUniqueUsername') def test_username_non_unique(self): """ - A non-unique USERNAME_FIELD should raise an error only if we use the - default authentication backend. Otherwise, an warning should be raised. + A non-unique USERNAME_FIELD raises an error only if the default + authentication backend is used. Otherwise, a warning is raised. """ errors = checks.run_checks() self.assertEqual(errors, [ -- cgit v1.3