diff options
Diffstat (limited to 'lib/python2.7/site-packages/django/contrib/auth/tests/utils.py')
-rw-r--r-- | lib/python2.7/site-packages/django/contrib/auth/tests/utils.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/python2.7/site-packages/django/contrib/auth/tests/utils.py b/lib/python2.7/site-packages/django/contrib/auth/tests/utils.py deleted file mode 100644 index 6bb3d99..0000000 --- a/lib/python2.7/site-packages/django/contrib/auth/tests/utils.py +++ /dev/null @@ -1,9 +0,0 @@ -from django.conf import settings -from django.utils.unittest import skipIf - - -def skipIfCustomUser(test_func): - """ - Skip a test if a custom user model is in use. - """ - return skipIf(settings.AUTH_USER_MODEL != 'auth.User', 'Custom user model in use')(test_func) |