2bd66fb0838bd00e7c6f71c045fdf6b55650e043,plugins/projector/projector_plugin_test.py,ProjectorAppTest,testTensorWithValidCheckpoint,#ProjectorAppTest#,92

Before Change



    url = "/data/plugin/projector/tensor?run=.&name=var1"
    tensor_bytes = self._Get(url).data
    tensor = np.reshape(np.fromstring(tensor_bytes, dtype="float32"), [1, 2])
    expected_tensor = np.array([[6, 6]], dtype="float32")
    self.assertTrue(np.array_equal(tensor, expected_tensor))

  def testPluginIsActive(self):

After Change


    url = "/data/plugin/projector/tensor?run=.&name=var1"
    tensor_bytes = self._Get(url).data
    expected_tensor = np.array([[6, 6]], dtype=np.float32)
    self._AssertTensorResponse(tensor_bytes, expected_tensor)

  def testBookmarksRequestMissingRunAndName(self):
    self._GenerateProjectorTestData()
    self._SetupWSGIApp()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/tensorboard
Commit Name: 2bd66fb0838bd00e7c6f71c045fdf6b55650e043
Time: 2017-04-07
Author: smilkov@google.com
File Name: plugins/projector/projector_plugin_test.py
Class Name: ProjectorAppTest
Method Name: testTensorWithValidCheckpoint


Project Name: pyinstaller/pyinstaller
Commit Name: 942cbe779fb5aae739d8dc24d945c0f192032e46
Time: 2018-12-06
Author: bjones@ece.msstate.edu
File Name: tests/unit/test_modulegraph/test_modulegraph.py
Class Name: TestModuleGraph
Method Name: test_create_xref


Project Name: tensorflow/tensorboard
Commit Name: a6f481ad1c853d60c594cb346e7c28ccd1f08dc6
Time: 2017-04-07
Author: rohan100jain@gmail.com
File Name: plugins/projector/projector_plugin_test.py
Class Name: ProjectorAppTest
Method Name: testTensorWithValidCheckpoint