diff --git a/fastpair/test/test_fastpair.py b/fastpair/test/test_fastpair.py index d3d78ee..11d6e80 100644 --- a/fastpair/test/test_fastpair.py +++ b/fastpair/test/test_fastpair.py @@ -279,7 +279,7 @@ def test_iter(self, point_set): fp[ps[0]] = fp[ps[0]].neigh try: - fp[ps[0]].neigh # noqa: B018 + assert fp[ps[0]].neigh except KeyError as err: print(err)