Removed all the code which checks for settings.AUTH_PROFILE_MODULE and replaced with an extra kwarg on the override_settings decorator. Net effect is about 20 fewer lines and the test now passes.
Fixed #17966 -- 'AttributeError: AUTH_PROFILE_MODULE' when running tests
Fixed in 5318783
Am I the only who thinks that this should be released in 1.4.x!?
This issue makes it impossible to use custom AUTH_PROFILE_MODULE in 1.4 after all.
No, we won't fix it in 1.4, please see our backporting policy: https://docs.djangoproject.com/en/dev/internals/release-process/#supported-versions -- Also it doesn't make it impossible to use the AUTH_PROFILE_MODULE, it just makes it hard to run the tests (for the contrib.auth app).