From 355f805f30e493cda2af134ccb768edccf3ff0ab Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Tue, 26 Apr 2022 18:30:53 +0200 Subject: [PATCH] DEV: Ignore IronPython parts for code coverage (#826) I have no idea how to test for that in GithubActions. As this likely only affects a small fraction of PyPDF2 users, I want to ignore it for now. Feel free to add a PR that adds IronPython to GithubActions - then we can enable this again. --- PyPDF2/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyPDF2/filters.py b/PyPDF2/filters.py index 6ae08ab85..d3901da7d 100644 --- a/PyPDF2/filters.py +++ b/PyPDF2/filters.py @@ -70,7 +70,7 @@ def decompress(data): def compress(data): return zlib.compress(data) -except ImportError: +except ImportError: # pragma: no cover # Unable to import zlib. Attempt to use the System.IO.Compression # library from the .NET framework. (IronPython only) import System