'Test that the message of KeyError contains the missing key name.'

def test_key_error(self):

    d1 = MergeDict({'key1': 42})
    with six.assertRaisesRegex(self, KeyError, 'key2'):
        d1['key2']
