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

Method tearDown

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

Source from the content-addressed store, hash-verified

89 self.original_clip = ip.hooks.clipboard_get
90
91 def tearDown(self):
92 # Restore original hook
93 ip.hooks.clipboard_get = self.original_clip
94
95 def test_paste(self):
96 ip.user_ns.pop('x', None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected