fa4d92de5a7e8a68e241a5c4544e8f711d2266a1,backend/tensorboard_server_test.py,TensorboardServerTest,_getJson,#TensorboardServerTest#Any#,69

Before Change


    self._connection.request("GET", path)
    response = self._connection.getresponse()
    self.assertEqual(response.status, 200)
    return json.load(response)

  def testBasicStartup(self):
    Start the server up and then shut it down immediately.
    pass

After Change


    self._connection.request("GET", path)
    response = self._connection.getresponse()
    self.assertEqual(response.status, 200)
    return json.loads(response.read().decode("utf-8"))

  def testBasicStartup(self):
    Start the server up and then shut it down immediately.
    pass
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tensorflow/tensorboard
Commit Name: fa4d92de5a7e8a68e241a5c4544e8f711d2266a1
Time: 2016-02-18
Author: vrv@google.com
File Name: backend/tensorboard_server_test.py
Class Name: TensorboardServerTest
Method Name: _getJson


Project Name: tensorflow/tensorboard
Commit Name: dfc6e681e9c7f5a4ea0ab2c7c67513f007938e5e
Time: 2016-02-17
Author: vrv@google.com
File Name: backend/server_test.py
Class Name: TensorboardServerTest
Method Name: _getJson


Project Name: aws/sagemaker-python-sdk
Commit Name: 99b7b480329bda3a291422b5065c0ce3f74c713b
Time: 2020-02-25
Author: 6631887+laurenyu@users.noreply.github.com
File Name: tests/data/mxnet_mnist/mnist_neo.py
Class Name:
Method Name: neo_preprocess