Skip to content

Commit 5a8ac9c

Browse files
author
The TensorFlow Datasets Authors
committed
Cleanup.
PiperOrigin-RevId: 785752117
1 parent 22f1069 commit 5a8ac9c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tensorflow_datasets/core/subsplits_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def even_splits(
119119
not evenly divisible by `n`. If `False`, examples are distributed evenly
120120
across subsplits, starting by the first. For example, if there is 11
121121
examples with `n=3`, splits will contain `[4, 4, 3]` examples
122-
respectivelly.
122+
respectively.
123123
124124
Returns:
125125
The list of subsplits. Those splits can be combined together (with
@@ -169,7 +169,7 @@ def split_for_jax_process(
169169
not evenly divisible by `n`. If `False`, examples are distributed evenly
170170
across subsplits, starting by the first. For example, if there is 11
171171
examples with `n=3`, splits will contain `[4, 4, 3]` examples
172-
respectivelly.
172+
respectively.
173173
174174
Returns:
175175
subsplit: The sub-split of the given `split` for the current

tensorflow_datasets/testing/dataset_builder_testing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def setUp(self):
191191
# The `dl_manager.download` and `dl_manager.download_and_extract` are
192192
# patched to record the urls in `_download_urls`.
193193
# Calling `dl_manager.download_checksums` stop the url
194-
# registration (as checksums are stored remotelly)
194+
# registration (as checksums are stored remotely)
195195
# `_test_checksums` validates the recorded urls.
196196
self._download_urls = set()
197197
self._stop_record_download = False
@@ -291,7 +291,7 @@ def test_tags_are_valid(self):
291291
def _add_url(self, url_or_urls):
292292
if self._stop_record_download:
293293
# Stop record the checksums if dl_manager.download_checksums has been
294-
# called (as checksums may be stored remotelly)
294+
# called (as checksums may be stored remotely).
295295
return
296296
if isinstance(url_or_urls, download.resource.Resource):
297297
self._download_urls.add(url_or_urls.url)

tensorflow_datasets/testing/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def mock(self):
147147
with self._mock() as m:
148148
yield m
149149
self._tmp_dir = None
150-
# TODO(epot): recursivelly record all
150+
# TODO(epot): recursively record all.
151151

152152
def _to_tmp(self, p, *, with_state: bool = False):
153153
"""Normalize the path by returning `tmp_path / p`."""

0 commit comments

Comments
 (0)