From e705ad55f470d8d807cc8b56440f1ed080f48e16 Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Wed, 1 May 2024 20:00:06 +0100 Subject: [PATCH] exclude lines that may be missed in hypothesis tests --- tests/hypothesis/test_functions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/hypothesis/test_functions.py b/tests/hypothesis/test_functions.py index 579ba5b..b9f816a 100644 --- a/tests/hypothesis/test_functions.py +++ b/tests/hypothesis/test_functions.py @@ -171,13 +171,13 @@ def test_fuzz_compare_coordinates( ) flat_other = [other] if isinstance(other, float) else more_itertools.collapse(other) - if any(math.isnan(c) for c in flat_coords): + if any(math.isnan(c) for c in flat_coords): # pragma: no cover assert not pygeoif.functions.compare_coordinates(coords=coords, other=coords) - else: + else: # pragma: no cover assert pygeoif.functions.compare_coordinates(coords=coords, other=coords) - if any(math.isnan(c) for c in flat_other): + if any(math.isnan(c) for c in flat_other): # pragma: no cover assert not pygeoif.functions.compare_coordinates(coords=other, other=other) - else: + else: # pragma: no cover assert pygeoif.functions.compare_coordinates(coords=other, other=other)