  import binascii
  import os
  
  from django.conf import settings
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  # Prior to Django 1.5, the AUTH_USER_MODEL setting does not exist.
 
</s> remove import binascii
 </s> add  </s> remove from django.test.client import Client as DjangoClient
from django.test.client import ClientHandler
 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
 </s> add import inspect

import django
from django.utils import six
  import binascii
  import os
  

  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  # Prior to Django 1.5, the AUTH_USER_MODEL setting does not exist.
keep keep keep replace keep keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/authtoken/models.py