Skip to content

Commit

Permalink
馃摎 DOCS: Fix typos (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng committed Jul 30, 2022
1 parent be07f77 commit 5d9da8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pytest_notebook/diffing.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def diff_sequence_simple(


def diff_notebooks(
intial: NotebookNode, final: NotebookNode, initial_path: str = ""
initial: NotebookNode, final: NotebookNode, initial_path: str = ""
) -> List[DiffEntry]:
"""Compare two notebooks.
Expand All @@ -77,7 +77,7 @@ def diff_notebooks(
"""
return diff(
intial,
initial,
final,
path=initial_path,
predicates=defaultdict2(lambda: [operator.__eq__], {}),
Expand Down
2 changes: 1 addition & 1 deletion pytest_notebook/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,5 +306,5 @@ def create_cell(


def dump_notebook(nb: NotebookNode, as_version=nbformat.NO_CONVERT) -> NotebookNode:
"""Dump the notebook to a sting."""
"""Dump the notebook to a string."""
return nbformat.writes(nb, version=as_version)

0 comments on commit 5d9da8f

Please sign in to comment.