bd79a38c75085b3503b4e53859f15c22194affc0,tests/unit_test/test_datapack.py,,test_append,#Any#,27
Before Change
def test_append(data_pack):
data_pack.append(data_pack)
data, ctx = data_pack.unpack()
assert data.shape[0] == 4
assert isinstance(ctx, dict)
def test_save_load(data_pack):
After Change
def test_append(data_pack):
data_pack.append(data_pack)
assert len(data_pack) == 4
def test_save_load(data_pack):
dirpath = ".tmpdir"
data_pack.save(dirpath)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: NTMC-Community/MatchZoo
Commit Name: bd79a38c75085b3503b4e53859f15c22194affc0
Time: 2018-06-24
Author: kingbolanda@live.com
File Name: tests/unit_test/test_datapack.py
Class Name:
Method Name: test_append
Project Name: dask/distributed
Commit Name: 383ea0326ae103b5d5e0b62ed9c3cb18510c5b9e
Time: 2021-02-17
Author: jakirkham@gmail.com
File Name: distributed/comm/tcp.py
Class Name: TCP
Method Name: read
Project Name: NTMC-Community/MatchZoo
Commit Name: bd79a38c75085b3503b4e53859f15c22194affc0
Time: 2018-06-24
Author: kingbolanda@live.com
File Name: tests/unit_test/test_datapack.py
Class Name:
Method Name: test_save_load
Project Name: NTMC-Community/MatchZoo
Commit Name: bd79a38c75085b3503b4e53859f15c22194affc0
Time: 2018-06-24
Author: kingbolanda@live.com
File Name: tests/unit_test/test_datapack.py
Class Name:
Method Name: test_sample