'A TypeError within a backend is propagated properly (#18171).'

@override_settings(AUTHENTICATION_BACKENDS=['auth_tests.test_auth_backends.TypeErrorBackend'])
def test_type_error_raised(self):

    with self.assertRaises(TypeError):
        authenticate(username='test', password='test')
