  
      if len(sys.argv) > 1:
          pytest_args = sys.argv[1:]
          first_arg = pytest_args[0]
          if first_arg.startswith('-'):
              # `runtests.py [flags]`
              pytest_args = ['tests'] + pytest_args
          elif is_class(first_arg) and is_function(first_arg):
 
</s> remove     'default': ['tests', '--tb=short', '-s', '--cov', 'rest_framework'],
 </s> add     'default': ['tests', '--tb=short', '-s'],
        try:
            pytest_args.remove('--coverage')
        except ValueError:
            pass
        else:
            pytest_args = ['--cov', 'rest_framework'] + pytest_args

  
      if len(sys.argv) > 1:
          pytest_args = sys.argv[1:]
          first_arg = pytest_args[0]
        try:
            pytest_args.remove('--coverage')
        except ValueError:
            pass
        else:
            pytest_args = ['--cov', 'rest_framework'] + pytest_args

          if first_arg.startswith('-'):
              # `runtests.py [flags]`
              pytest_args = ['tests'] + pytest_args
          elif is_class(first_arg) and is_function(first_arg):
keep keep keep add keep keep keep keep
 Include nested objects in metadata for OPTIONS. Closes #3156. Closes #2915. 
runtests.py