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

def assert_outcomes(result, **expected):
    outcomes = result.parseoutcomes()

    for key in 'seconds', 'warnings':
        if key in outcomes:
            del outcomes[key]

    assert outcomes == expected

Remove checks for deprecated keys in outcomes
Remove checks for deprecated keys in outcomes

  def assert_outcomes(result, **expected):
      outcomes = result.parseoutcomes()
  
-     for key in 'seconds', 'pytest-warnings', 'warnings', 'warning':
+     for key in 'seconds', 'warnings':
          if key in outcomes:
              del outcomes[key]
  
      assert outcomes == expected
  
Remove checks for deprecated keys in outcomes
## Code Before:
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

## Instruction:
Remove checks for deprecated keys in outcomes
## Code After:
def assert_outcomes(result, **expected):
    outcomes = result.parseoutcomes()

    for key in 'seconds', 'warnings':
        if key in outcomes:
            del outcomes[key]

    assert outcomes == expected
