Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct spelling mistakes #1526

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading