old_contents: def assert_outcomes(result, **expected):
      outcomes = result.parseoutcomes()
  
      for key in 'seconds', 'pytest-warnings', 'warnings', 'warning':
          if key in outcomes:
              del outcomes[key]
  
      assert outcomes == expected
  
new_contents: def assert_outcomes(result, **expected):
      outcomes = result.parseoutcomes()
  
      for key in 'seconds', 'warnings':
          if key in outcomes:
              del outcomes[key]
  
      assert outcomes == expected
  
subject: Remove checks for deprecated keys in outcomes