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

Method setUp

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

Source from the content-addressed store, hash-verified

83
84class ProfileStartupTest(TestCase):
85 def setUp(self):
86 # create profile dir
87 self.pd = ProfileDir.create_profile_dir_by_name(IP_TEST_DIR, 'test')
88 self.options = ['--ipython-dir', IP_TEST_DIR, '--profile', 'test']
89 self.fname = os.path.join(TMP_TEST_DIR, 'test.py')
90
91 def tearDown(self):
92 # We must remove this profile right away so its presence doesn't

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected