             if filename.endswith('.py') and not filename.startswith('_')]
  
  for module in modules:
      exec("from djangorestframework.tests.%s import __doc__ as module_doc" % module)
      exec("from djangorestframework.tests.%s import *" % module)
      __test__['%s' % module] = module_doc or ""
      
 
</s> remove     exec("from djangorestframework.tests.%s import *" % module) </s> add 
__test__ = dict()

             if filename.endswith('.py') and not filename.startswith('_')]
  
__test__ = dict()

  for module in modules:
      exec("from djangorestframework.tests.%s import __doc__ as module_doc" % module)
      exec("from djangorestframework.tests.%s import *" % module)
      __test__['%s' % module] = module_doc or ""
      
keep add keep keep keep keep keep
 modified tests.__init__ so it also test module docstrings 
djangorestframework/tests/__init__.py