Debian Codegraph @

tools/tests/embed/embed2.py

raw
1 """This tests passing a dict for the user_ns at shell instantiation."""
2 from IPython import embed
3
4 user_ns = dict(cookie='monster')
5 embed(user_ns=user_ns, banner1="check 'cookie' present, locals and globals equivalent")