Skip to content

Commit

Permalink
DEV: Ignore IronPython parts for code coverage (#826)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MartinThoma authored Apr 26, 2022
1 parent 96d8d0f commit 355f805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyPDF2/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 355f805

Please sign in to comment.