From cb66a28d821906957a8f092b999f531e4a3a4571 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 Nov 2018 09:26:15 +1100 Subject: Cleanup: unused vars, imports --- tests/python/bl_load_py_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/python/bl_load_py_modules.py') diff --git a/tests/python/bl_load_py_modules.py b/tests/python/bl_load_py_modules.py index 437a425a36d..b7b0db76b63 100644 --- a/tests/python/bl_load_py_modules.py +++ b/tests/python/bl_load_py_modules.py @@ -197,7 +197,7 @@ def load_modules(): assert(os.path.samefile(mod_imp.__file__, submod_full)) modules.append(mod_imp) - except Exception as e: + except Exception: import traceback # Module might fail to import, but we don't want whole test to fail here. # Reasoning: -- cgit v1.2.3