diff --git a/tensorflow_datasets/core/subsplits_utils.py b/tensorflow_datasets/core/subsplits_utils.py index 5b362750d9c..f98b17efd19 100644 --- a/tensorflow_datasets/core/subsplits_utils.py +++ b/tensorflow_datasets/core/subsplits_utils.py @@ -119,7 +119,7 @@ def even_splits( not evenly divisible by `n`. If `False`, examples are distributed evenly across subsplits, starting by the first. For example, if there is 11 examples with `n=3`, splits will contain `[4, 4, 3]` examples - respectivelly. + respectively. Returns: The list of subsplits. Those splits can be combined together (with @@ -169,7 +169,7 @@ def split_for_jax_process( not evenly divisible by `n`. If `False`, examples are distributed evenly across subsplits, starting by the first. For example, if there is 11 examples with `n=3`, splits will contain `[4, 4, 3]` examples - respectivelly. + respectively. Returns: subsplit: The sub-split of the given `split` for the current diff --git a/tensorflow_datasets/testing/dataset_builder_testing.py b/tensorflow_datasets/testing/dataset_builder_testing.py index 895c57c5b6b..14683351ee4 100644 --- a/tensorflow_datasets/testing/dataset_builder_testing.py +++ b/tensorflow_datasets/testing/dataset_builder_testing.py @@ -191,7 +191,7 @@ def setUp(self): # The `dl_manager.download` and `dl_manager.download_and_extract` are # patched to record the urls in `_download_urls`. # Calling `dl_manager.download_checksums` stop the url - # registration (as checksums are stored remotelly) + # registration (as checksums are stored remotely) # `_test_checksums` validates the recorded urls. self._download_urls = set() self._stop_record_download = False @@ -291,7 +291,7 @@ def test_tags_are_valid(self): def _add_url(self, url_or_urls): if self._stop_record_download: # Stop record the checksums if dl_manager.download_checksums has been - # called (as checksums may be stored remotelly) + # called (as checksums may be stored remotely) return if isinstance(url_or_urls, download.resource.Resource): self._download_urls.add(url_or_urls.url) diff --git a/tensorflow_datasets/testing/test_utils.py b/tensorflow_datasets/testing/test_utils.py index 45cbcf9e637..c842d3135b6 100644 --- a/tensorflow_datasets/testing/test_utils.py +++ b/tensorflow_datasets/testing/test_utils.py @@ -147,7 +147,7 @@ def mock(self): with self._mock() as m: yield m self._tmp_dir = None - # TODO(epot): recursivelly record all + # TODO(epot): recursively record all def _to_tmp(self, p, *, with_state: bool = False): """Normalize the path by returning `tmp_path / p`."""