713eda271c55358f577e6f682036049448340975,tests/syft/lib/python/slice/slice_id_test.py,,,#,5
Before Change
py_slice = slice(1, 3)
other_slice = Slice(Int(4))
other = Int(4)
py_list = [1, 2, 3]
def test_id_eq():
sy_res = sy_slice == other_slice
After Change
py_list_slice = py_list[slice(3)]
py_tuple_slice = py_tuple[slice(3)]
other_string_slice = sy_string[Slice(1)]
other_list_slice = sy_list[Slice(1)]
other_tuple_slice = sy_tuple[Slice(1)]
def test_id_eq():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: OpenMined/PySyft
Commit Name: 713eda271c55358f577e6f682036049448340975
Time: 2021-03-13
Author: dashnabanita@gmail.com
File Name: tests/syft/lib/python/slice/slice_id_test.py
Class Name:
Method Name:
Project Name: pymc-devs/pymc3
Commit Name: 215a77f7ead741550e4e52e2b95a34ccb56a93ad
Time: 2014-08-17
Author: thomas.wiecki@gmail.com
File Name: pymc/tests/test_step.py
Class Name:
Method Name: test_step_continuous
Project Name: deepchem/deepchem
Commit Name: be430093fbd33872d706a4b18f14e666ce70fd68
Time: 2018-03-22
Author: zqwu@stanford.edu
File Name: deepchem/models/tensorgraph/IRV.py
Class Name: TensorflowMultiTaskIRVClassifier
Method Name: build_graph
Project Name: pymc-devs/pymc3
Commit Name: ccac64d457f519b99c2f437dd718dd210e5bc53d
Time: 2014-04-02
Author: jsalvatier@gmail.com
File Name: pymc/tests/test_step.py
Class Name:
Method Name: test_step_discrete