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
