From 2a8e0ee2b9e8fc4f24e9fa2b257c1599a9e4711a Mon Sep 17 00:00:00 2001 From: Josiah Outram Halstead Date: Thu, 8 Feb 2024 21:16:26 +0000 Subject: [PATCH] Spelling correction (#1526) --- fsspec/implementations/tests/test_memory.py | 2 +- fsspec/registry.py | 2 +- fsspec/utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fsspec/implementations/tests/test_memory.py b/fsspec/implementations/tests/test_memory.py index 038d72eaa..664661767 100644 --- a/fsspec/implementations/tests/test_memory.py +++ b/fsspec/implementations/tests/test_memory.py @@ -111,7 +111,7 @@ def test_mv_same_paths(m): assert m.exists("src/file.txt") -def test_rm_no_psuedo_dir(m): +def test_rm_no_pseudo_dir(m): m.touch("/dir1/dir2/file") m.rm("/dir1", recursive=True) assert not m.exists("/dir1/dir2/file") diff --git a/fsspec/registry.py b/fsspec/registry.py index db9d3d577..27dc87355 100644 --- a/fsspec/registry.py +++ b/fsspec/registry.py @@ -254,7 +254,7 @@ def get_filesystem_class(protocol): def _import_class(cls, minv=None): """Take a string FQP and return the imported class or identifier - clas is of the form "package.module.klass" or "package.module:subobject.klass" + cls is of the form "package.module.klass" or "package.module:subobject.klass" """ if ":" in cls: mod, name = cls.rsplit(":", 1) diff --git a/fsspec/utils.py b/fsspec/utils.py index 543bd89d7..ba3f80be3 100644 --- a/fsspec/utils.py +++ b/fsspec/utils.py @@ -284,7 +284,7 @@ def read_block( found_end_delim = seek_delimiter(f, delimiter, 2**16) end = f.tell() - # Adjust split location to before delimiter iff seek found the + # Adjust split location to before delimiter if seek found the # delimiter sequence, not start or end of file. if found_start_delim and split_before: start -= len(delimiter)