MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / _patch_environ

Method _patch_environ

tensorboard/manager_e2e_test.py:91–94  ·  view source on GitHub ↗
(self, partial_environ)

Source from the content-addressed store, hash-verified

89 self.assertEqual(failed_kills, [])
90
91 def _patch_environ(self, partial_environ):
92 patcher = mock.patch.dict(os.environ, partial_environ)
93 patcher.start()
94 self.addCleanup(patcher.stop)
95
96 def _ensure_tensorboard_on_path(self, expected_binary_dir):
97 """Ensure that `tensorboard(1)` refers to our own binary.

Calls 1

startMethod · 0.45

Tested by

no test coverage detected