def test_pop_empty_no_default():
    d = IndexedDict()
    with pytest.raises(IndexError):
        d.pop()
def test_pop_empty_no_default():
	d = IndexedDict()
	with pytest.raises(IndexError):
		d.pop()
def test_pop_empty_default():
    d = IndexedDict()
    assert d.pop(d="XXX") == "XXX"
def test_pop_empty_default():
	d = IndexedDict()
	assert d.pop(d="XXX") == "XXX"