From 7196fa0773946a4eac62d695bfa525f050231ce8 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 26 Mar 2019 01:02:45 -0400 Subject: [PATCH] python3: mark zlib plugin as only existing on python2 Fixes test failure due to checking whether all plugins work, and considering this a plugin even though it is not. --- src/calibre/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/constants.py b/src/calibre/constants.py index e5781fe5b3..05ac5bbb3e 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -168,7 +168,6 @@ class Plugins(collections.Mapping): 'icu', 'speedup', 'unicode_names', - 'zlib2', 'html', 'freetype', 'imageops', @@ -184,6 +183,7 @@ class Plugins(collections.Mapping): if not ispy3: plugins.extend([ 'monotonic', + 'zlib2', ]) if iswindows: plugins.extend(['winutil', 'wpd', 'winfonts'])