Skip to content

Commit 09c4ecf

Browse files
committed
ignore coverage on python 3.9 pairwise workaround
will be removed with a bump to 3.10
1 parent 43d2821 commit 09c4ecf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

archeryutils/handicaps/handicap_equations.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161

6262
# itertools.pairwise not available until python 3.10
6363
# workaround can be removed when support for 3.9 is dropped
64-
if not hasattr(itr, "pairwise"):
64+
# ignore for coverage (runner is > 3.10, ci shows this works on 3.9)
65+
if not hasattr(itr, "pairwise"): # pragma: no cover
6566

6667
def _pairwise(iterable):
6768
a, b = itr.tee(iterable)

0 commit comments

Comments
 (0)