Skip to content

Commit

Permalink
fix typos in comments [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Nov 4, 2022
1 parent 36d4632 commit 7a9d1de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/serde/test_serde.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def test_raise_import_error(monkeypatch: Any) -> None:
# pretent we can't import the module (e.g. msgpack not installed)
# pretend we can't import the module (e.g. msgpack not installed)
monkeypatch.setitem(sys.modules, "ufoLib2.serde.msgpack", None)

with pytest.raises(ImportError, match="ufoLib2.serde.msgpack"):
Expand All @@ -25,7 +25,7 @@ class Foo:
foo = Foo(1)

with pytest.raises(ImportError, match="ufoLib2.serde.msgpack"):
# since the method is only added dynamicall at runtime, mypy complains that
# since the method is only added dynamically at runtime, mypy complains that
# "Foo" has no attribute "msgpack_dumps" -- so I shut it up
foo.msgpack_dumps() # type: ignore

Expand Down

0 comments on commit 7a9d1de

Please sign in to comment.