MCPcopy Index your code
hub / github.com/ipython/ipython / setUp

Method setUp

tests/test_path.py:452–456  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

450
451class TestLinkOrCopy(unittest.TestCase):
452 def setUp(self):
453 self.tempdir = TemporaryDirectory()
454 self.src = self.dst("src")
455 with open(self.src, "w", encoding="utf-8") as f:
456 f.write("Hello, world!")
457
458 def tearDown(self):
459 self.tempdir.cleanup()

Callers

nothing calls this directly

Calls 2

dstMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected