Skip to content

Commit

Permalink
Spelling correction (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
joouha authored Feb 8, 2024
1 parent c24a9d8 commit 2a8e0ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fsspec/implementations/tests/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion fsspec/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion fsspec/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2a8e0ee

Please sign in to comment.