def test_remove_missing_key(cache):
    'Fail to remove missing key.'
    with pytest.raises(KeyError):
        cache.remove('key')
Fail to remove missing key.
def test_remove_missing_key(cache):
    
    with pytest.raises(KeyError):
        cache.remove('key')