MCPcopy Create free account
hub / github.com/ipython/ipython / test_db

Function test_db

IPython/core/tests/test_iplib.py:241–246  ·  view source on GitHub ↗

Test the internal database used for variable persistence.

()

Source from the content-addressed store, hash-verified

239
240
241def test_db():
242 """Test the internal database used for variable persistence."""
243 ip.db['__unittest_'] = 12
244 nt.assert_equal(ip.db['__unittest_'], 12)
245 del ip.db['__unittest_']
246 assert '__unittest_' not in ip.db

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected