diff --git a/lenskit/tests/test_fallback.py b/lenskit/tests/test_fallback.py index 32f397ea6..19851539b 100644 --- a/lenskit/tests/test_fallback.py +++ b/lenskit/tests/test_fallback.py @@ -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): diff --git a/lenskit/tests/test_util.py b/lenskit/tests/test_util.py index 34d408998..606860031 100644 --- a/lenskit/tests/test_util.py +++ b/lenskit/tests/test_util.py @@ -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