  from rest_framework.compat import ProhibitNullCharactersValidator
  from rest_framework.fields import DjangoImageField, is_simple_callable
  
  try:
      import typings
  except ImportError:
      typings = False
  
  
  # Tests for helper functions.
 
</s> remove     typings = False
 </s> add     typing = False </s> remove         exec("def valid(param: str='value'):  pass", locals())
        valid = locals()['valid']
 </s> add         locals = {}
        exec("def valid(param: str='value'):  pass", locals)
        valid = locals['valid'] </s> remove     @unittest.skipUnless(typings, 'requires python 3.5')
 </s> add     @unittest.skipUnless(typing, 'requires python 3.5')
    import typing
  from rest_framework.compat import ProhibitNullCharactersValidator
  from rest_framework.fields import DjangoImageField, is_simple_callable
  
  try:
    import typing
  except ImportError:
      typings = False
  
  
  # Tests for helper functions.
keep keep keep keep replace keep keep keep keep keep
 Correct misspelled module 'typing' (#6616)

https://docs.python.org/3/library/typing.html 
tests/test_fields.py