Skip to content

Commit 92cbcff

Browse files
author
The TensorFlow Datasets Authors
committed
Use encoding_formats in test_utils.py.
PiperOrigin-RevId: 742686067
1 parent 74109ac commit 92cbcff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_datasets/testing/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def dummy_croissant_file(
844844
id='raw_data',
845845
name='raw_data',
846846
description='Files with the data.',
847-
encoding_format='application/jsonlines',
847+
encoding_formats=['application/jsonlines'],
848848
includes=f'data/{file_name}*.{extension}',
849849
),
850850
]
@@ -859,7 +859,7 @@ def dummy_croissant_file(
859859
id='raw_data',
860860
name='raw_data',
861861
description='File with the data.',
862-
encoding_format='application/jsonlines',
862+
encoding_formats=['application/jsonlines'],
863863
content_url=f'data/{raw_data_filename}',
864864
sha256=sha256,
865865
),

0 commit comments

Comments
 (0)