def test_update_unknown():
    ctx = Context()
    assert u'xyzzy' not in _default_context.keys()

    assert_raises(KeyError, ctx.update, xyzzy=123)
    assert u'xyzzy' not in ctx
dataset/ETHPy150Open jek/flatland/tests/markup/test_context.py/test_update_unknown/original