MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / test_close

Method test_close

tensorboard/summary/_writer_test.py:52–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 w.flush()
51
52 def test_close(self):
53 output = mock.create_autospec(output_lib.Output)
54 w = writer_lib.Writer(output)
55 w.close()
56 output.close.assert_called_once()
57
58 def test_close_after_close(self):
59 output = mock.create_autospec(output_lib.Output)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected