From 6bcbd1b42e47019d06e01fd69baaf7ae5e50fcad Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 15 Oct 2020 22:21:25 +0530 Subject: [PATCH] /proc/bus/usb doesn't exist anymore --- src/calibre/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index de45f0cb66..5c1dc4aa50 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -104,7 +104,7 @@ class BuildTest(unittest.TestCase): def test_plugins(self): exclusions = set() - if islinux and (not os.path.exists('/dev/bus/usb') and not os.path.exists('/proc/bus/usb')): + if islinux and not os.path.exists('/dev/bus/usb'): # libusb fails to initialize in containers without USB subsystems exclusions.update(set('libusb libmtp'.split())) for name in plugins: