def test_db():
    """Test the internal database used for variable persistence."""
    ip.db['__unittest_'] = 12
    nt.assert_equals(ip.db['__unittest_'], 12)
    del ip.db['__unittest_']
    assert '__unittest_' not in ip.db
dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/tests/test_iplib.py/test_db/original