Skip to content

Commit aa4285f

Browse files
committed
cleanup
1 parent 18a770c commit aa4285f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/builtin_dataset_mocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ def _make_segmentations(cls, root, image_files):
12121212
size=[1, *make_tensor((2,), low=3, dtype=torch.int).tolist()],
12131213
)
12141214

1215-
make_tar(root, segmentations_folder.with_suffix(".tgz").name)
1215+
make_tar(root, segmentations_folder.with_suffix(".tgz").name, compression="gz")
12161216

12171217
@classmethod
12181218
def generate(cls, root):

test/test_prototype_builtin_datasets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def scan(graph):
116116
else:
117117
raise AssertionError(f"The dataset doesn't comprise a {annotation_dp_type.__name__}() datapipe.")
118118

119+
@parametrize_dataset_mocks(DATASET_MOCKS)
119120
def test_loadable_through_api(self, mocker, dataset_mock, config):
120121
# Make all resources that are necessary for the given config
121122
dataset_mock.make_mock_resources(config)

0 commit comments

Comments
 (0)