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

Method setUp

IPython/core/tests/test_magic_terminal.py:87–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 ip.magic('paste '+flags)
86
87 def setUp(self):
88 # Inject fake clipboard hook but save original so we can restore it later
89 self.original_clip = ip.hooks.clipboard_get
90
91 def tearDown(self):
92 # Restore original hook

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected