'Accessing a nonexistent RVKC should raise an IndexError for
index-based lookup, or a KeyError for keyword lookup (like a normal
card).'

def test_access_nonexistent_rvkc(self):

    pytest.raises(IndexError, (lambda x: self._test_header[x]), 8)
    pytest.raises(KeyError, (lambda k: self._test_header[k]), 'DP1.AXIS.3')
    try:
        self._test_header['DP1.AXIS.3']
    except KeyError as e:
        assert (e.args[0] == "Keyword    'DP1.AXIS.3'    not    found.")
