From 098f75897e3ddf4bb93f64cecb322d7370127419 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 18 Apr 2019 17:14:17 +0200 Subject: [PATCH] PyTests: do not try to load non-2.8-ready add-ons. --- tests/python/bl_load_addons.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/python/bl_load_addons.py b/tests/python/bl_load_addons.py index d54d5c3c45f..0df98585062 100644 --- a/tests/python/bl_load_addons.py +++ b/tests/python/bl_load_addons.py @@ -50,6 +50,10 @@ def _init_addon_blacklist(): # netrender has known problems re-registering BLACKLIST_ADDONS.add("netrender") + for mod in addon_utils.modules(): + if addon_utils.module_bl_info(mod)['blender'] < (2, 80, 0): + BLACKLIST_ADDONS.add(mod.__name__) + def addon_modules_sorted(): modules = addon_utils.modules({})