33b9c38389a37086b69397872e75d9fdbc58ee09,tests/compute/test_pickle.py,,test_pickling_index,#,20

Before Change



    i2 = _reconstruct_pickle(i)

    assert F.array_equal(i2.tousertensor(), i.tousertensor())


def test_pickling_graph_index():
    gi = create_graph_index()

After Change


    _assert_is_identical_index(i, i2)

    // slice index
    i = toindex(slice(5, 10))
    i2 = _reconstruct_pickle(i)
    _assert_is_identical_index(i, i2)

def test_pickling_graph_index():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dmlc/dgl
Commit Name: 33b9c38389a37086b69397872e75d9fdbc58ee09
Time: 2019-03-18
Author: minjie.wang@nyu.edu
File Name: tests/compute/test_pickle.py
Class Name:
Method Name: test_pickling_index


Project Name: scikit-learn/scikit-learn
Commit Name: 670b85c9e9cec05210e8596bc1fb9ca66787162f
Time: 2020-04-19
Author: 50599110+lrjball@users.noreply.github.com
File Name: sklearn/compose/tests/test_column_transformer.py
Class Name:
Method Name: test_column_transformer_get_feature_names


Project Name: ilastik/ilastik
Commit Name: d835c2656618fe0d227c7eb15eecb4847e8b6475
Time: 2012-07-02
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpPredictRandomForest
Method Name: execute


Project Name: scikit-image/scikit-image
Commit Name: 80a574010ad434c064afe1a3bdc523de743695c6
Time: 2021-02-10
Author: rfezzani@gmail.com
File Name: skimage/segmentation/_clear_border.py
Class Name:
Method Name: clear_border