From 4fa69111eca9555b119760745212509d42b5da25 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 27 Mar 2019 07:11:04 +0530 Subject: [PATCH] Exclude some linux specific modules from import tests on other platforms --- src/calibre/test_build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index c25ed6de44..7ee73a4cc0 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -83,7 +83,11 @@ class BuildTest(unittest.TestCase): if not isosx: exclude_modules.add('calibre.utils.open_with.osx') if not islinux: - exclude_modules |= {'calibre.utils.dbus_service', 'calibre.linux'} + exclude_modules |= { + 'calibre.utils.dbus_service', 'calibre.linux', + 'calibre.utils.linux_trash', 'calibre.utils.open_with.linux', + 'calibre.gui2.linux_file_dialogs' + } exclude_packages.add('calibre.gui2.dbus_export') base = os.path.dirname(__file__) import_base = os.path.dirname(base)