MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / setUp

Method setUp

tensorflow/python/debug/cli/readline_ui_test.py:58–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56class CursesTest(test_util.TensorFlowTestCase):
57
58 def setUp(self):
59 self._tmp_dir = tempfile.mkdtemp()
60 self._tmp_config_path = os.path.join(self._tmp_dir, ".tfdbg_config")
61 self.assertFalse(gfile.Exists(self._tmp_config_path))
62 super(CursesTest, self).setUp()
63
64 def tearDown(self):
65 shutil.rmtree(self._tmp_dir)

Callers

nothing calls this directly

Calls 3

mkdtempMethod · 0.80
joinMethod · 0.45
ExistsMethod · 0.45

Tested by

no test coverage detected