From 59b9a7420db213e341e25a1f548930c3ddfc8745 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 15 Dec 2023 04:11:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=F0=9F=A7=AA=20Fix=20the=20operator?= =?UTF-8?q?=20in=20`test=5Flt`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was incorrectly testing the `<=` twice which resulted in missing coverage for `<` in the Cython module. --- tests/test_frozenlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py index 2b5392be..403d3ec8 100644 --- a/tests/test_frozenlist.py +++ b/tests/test_frozenlist.py @@ -88,7 +88,7 @@ def test_le(self) -> None: def test_lt(self) -> None: _list = self.FrozenList([1]) - assert _list <= [3] + assert _list < [3] def test_ge(self) -> None: _list = self.FrozenList([1])