From 6bacf2deb4c796d451fa4a34f09239aca8da65c4 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Sun, 7 Apr 2019 13:03:48 +0200 Subject: [PATCH] _get_test_plugins(): Ignore __pycache__ --- test/test_plugins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_plugins.py b/test/test_plugins.py index 98e42ac0d..ffe44acce 100644 --- a/test/test_plugins.py +++ b/test/test_plugins.py @@ -69,6 +69,8 @@ def _get_test_plugins(): for f in os.listdir(testplugins_path): testplugin = os.path.join(testplugins_path, f) for e in os.listdir(testplugin): + if e == '__pycache__': + continue testplugins[f] = os.path.join(testplugin, e) return testplugins