Skip to content

Commit

Permalink
suppress warnings for type checks on colone
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jul 30, 2024
1 parent 28fa380 commit 1dc690a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lenskit/tests/test_fallback.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_fallback_clone(ml_ds):
assert clone is not algo
for a1, a2 in zip(algo.algorithms, clone.algorithms):
assert a1 is not a2
assert type(a2) == type(a1)
assert type(a2) == type(a1) # noqa: E721


def test_fallback_predict(ml_ratings, ml_ds):
Expand Down
2 changes: 1 addition & 1 deletion lenskit/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ def func(foo):
def test_clone_core_obj(obj):
o2 = lku.clone(obj)
assert o2 == obj
assert type(o2) == type(obj)
assert type(o2) == type(obj) # noqa: E721

0 comments on commit 1dc690a

Please sign in to comment.