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

Method setUp

IPython/core/tests/test_interactiveshell.py:634–636  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

632
633class TestAstTransform(unittest.TestCase):
634 def setUp(self):
635 self.negator = Negator()
636 ip.ast_transformers.append(self.negator)
637
638 def tearDown(self):
639 ip.ast_transformers.remove(self.negator)

Callers

nothing calls this directly

Calls 1

NegatorClass · 0.85

Tested by

no test coverage detected