diff --git a/tests/performance/api/config.py b/tests/performance/api/config.py index c911aabbd27..4236005eca6 100644 --- a/tests/performance/api/config.py +++ b/tests/performance/api/config.py @@ -5,7 +5,6 @@ import fnmatch import json import pathlib -import sys from dataclasses import dataclass, field from typing import Dict, List @@ -15,7 +14,6 @@ from .test import TestCollection def get_build_hash(args: None) -> str: import bpy - import sys build_hash = bpy.app.build_hash.decode('utf-8') return '' if build_hash == 'Unknown' else build_hash @@ -220,6 +218,7 @@ class TestConfig: executable, environment = self._split_environment_variables(executable) executable_path = env._blender_executable_from_path(pathlib.Path(executable)) if not executable_path: + import sys sys.stderr.write(f'Error: build {executable} not found\n') sys.exit(1) diff --git a/tests/performance/api/device.py b/tests/performance/api/device.py index 9267ee3fdfe..fcb34e40c15 100644 --- a/tests/performance/api/device.py +++ b/tests/performance/api/device.py @@ -26,7 +26,6 @@ def get_cpu_name() -> str: def get_gpu_device(args: None) -> List: # Get the list of available Cycles GPU devices. import bpy - import sys prefs = bpy.context.preferences cprefs = prefs.addons['cycles'].preferences diff --git a/tests/performance/benchmark.py b/tests/performance/benchmark.py index f581f9ddd7e..3e0303c1ac1 100755 --- a/tests/performance/benchmark.py +++ b/tests/performance/benchmark.py @@ -10,7 +10,6 @@ import glob import pathlib import shutil import sys -import time from typing import List diff --git a/tests/performance/tests/animation.py b/tests/performance/tests/animation.py index 9835b9094c1..eb8754a347e 100644 --- a/tests/performance/tests/animation.py +++ b/tests/performance/tests/animation.py @@ -3,7 +3,6 @@ # SPDX-License-Identifier: Apache-2.0 import api -import os def _run(args): diff --git a/tests/performance/tests/blend_load.py b/tests/performance/tests/blend_load.py index f2036ea5932..371f45e09b7 100644 --- a/tests/performance/tests/blend_load.py +++ b/tests/performance/tests/blend_load.py @@ -3,8 +3,6 @@ # SPDX-License-Identifier: Apache-2.0 import api -import os -import pathlib def _run(filepath): diff --git a/tests/performance/tests/cycles.py b/tests/performance/tests/cycles.py index de0d5d0af66..e3c439b8fc7 100644 --- a/tests/performance/tests/cycles.py +++ b/tests/performance/tests/cycles.py @@ -3,12 +3,10 @@ # SPDX-License-Identifier: Apache-2.0 import api -import os def _run(args): import bpy - import time device_type = args['device_type'] device_index = args['device_index'] diff --git a/tests/performance/tests/eevee.py b/tests/performance/tests/eevee.py index cc96147f9d4..ca391ebe4d9 100644 --- a/tests/performance/tests/eevee.py +++ b/tests/performance/tests/eevee.py @@ -2,7 +2,6 @@ # # SPDX-License-Identifier: Apache-2.0 -import os import enum import time diff --git a/tests/performance/tests/geometry_nodes.py b/tests/performance/tests/geometry_nodes.py index e260867f74f..691c580f722 100644 --- a/tests/performance/tests/geometry_nodes.py +++ b/tests/performance/tests/geometry_nodes.py @@ -3,7 +3,6 @@ # SPDX-License-Identifier: Apache-2.0 import api -import os def _run(args): diff --git a/tests/python/bl_alembic_io_test.py b/tests/python/bl_alembic_io_test.py index f10a9c6f022..4421caaea25 100644 --- a/tests/python/bl_alembic_io_test.py +++ b/tests/python/bl_alembic_io_test.py @@ -13,7 +13,6 @@ import tempfile import unittest import bpy -from mathutils import Euler, Matrix, Vector args = None diff --git a/tests/python/bl_keymap_validate.py b/tests/python/bl_keymap_validate.py index 89660a0e082..e2420b16a4a 100644 --- a/tests/python/bl_keymap_validate.py +++ b/tests/python/bl_keymap_validate.py @@ -40,7 +40,6 @@ from typing import ( KeyConfigData = List[Tuple[str, Tuple[Any], Dict[str, Any]]] -import os import contextlib import bpy # type: ignore diff --git a/tests/python/bl_load_addons.py b/tests/python/bl_load_addons.py index f45abd12962..39611530433 100644 --- a/tests/python/bl_load_addons.py +++ b/tests/python/bl_load_addons.py @@ -11,7 +11,6 @@ import bpy import addon_utils -import os import sys import importlib diff --git a/tests/python/bl_pyapi_bpy_driver_secure_eval.py b/tests/python/bl_pyapi_bpy_driver_secure_eval.py index 4f774e09dfd..c7a79131b35 100644 --- a/tests/python/bl_pyapi_bpy_driver_secure_eval.py +++ b/tests/python/bl_pyapi_bpy_driver_secure_eval.py @@ -6,7 +6,6 @@ import bpy import unittest import builtins -from types import ModuleType # ----------------------------------------------------------------------------- diff --git a/tests/python/bl_rna_manual_reference.py b/tests/python/bl_rna_manual_reference.py index ec05217fdf2..dce67268744 100644 --- a/tests/python/bl_rna_manual_reference.py +++ b/tests/python/bl_rna_manual_reference.py @@ -64,8 +64,8 @@ def test_lookup_coverage(): for op_id in dir(getattr(bpy.ops, submod_id)): yield (op_path, "%s.%s" % (op_path, op_id)) - # check coverage - from bl_operators import wm + # Check coverage: + # from bl_operators import wm set_group_all = set() set_group_doc = set() diff --git a/tests/python/bl_usd_export_test.py b/tests/python/bl_usd_export_test.py index 347973fbf64..30d4b0e4e72 100644 --- a/tests/python/bl_usd_export_test.py +++ b/tests/python/bl_usd_export_test.py @@ -2,7 +2,6 @@ # # SPDX-License-Identifier: GPL-2.0-or-later -import enum import pathlib import pprint import sys diff --git a/tests/python/compositor_render_tests.py b/tests/python/compositor_render_tests.py index e6417aa956f..5488c3b9bcd 100644 --- a/tests/python/compositor_render_tests.py +++ b/tests/python/compositor_render_tests.py @@ -5,9 +5,6 @@ import argparse import os -import shlex -import shutil -import subprocess import sys diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index c922d6d87f5..b7634afd698 100644 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -6,8 +6,6 @@ import argparse import os import shlex -import shutil -import subprocess import sys from pathlib import Path diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py index d2807ea09a2..92e879b16c9 100644 --- a/tests/python/eevee_render_tests.py +++ b/tests/python/eevee_render_tests.py @@ -6,8 +6,6 @@ import argparse import os import pathlib -import shlex -import shutil import subprocess import sys from pathlib import Path diff --git a/tests/python/modifiers.py b/tests/python/modifiers.py index c0190072761..4e9b1ec964b 100644 --- a/tests/python/modifiers.py +++ b/tests/python/modifiers.py @@ -5,7 +5,7 @@ import math import os import sys -from random import shuffle, seed +from random import seed import bpy diff --git a/tests/python/modules/render_report.py b/tests/python/modules/render_report.py index 0f95cb1be4f..c48df8a642e 100755 --- a/tests/python/modules/render_report.py +++ b/tests/python/modules/render_report.py @@ -12,7 +12,6 @@ import os import pathlib import shutil import subprocess -import sys import time from . import global_report diff --git a/tests/python/opengl_draw_tests.py b/tests/python/opengl_draw_tests.py index b0f3ebca3b7..10dfe461219 100644 --- a/tests/python/opengl_draw_tests.py +++ b/tests/python/opengl_draw_tests.py @@ -5,7 +5,6 @@ import argparse import os -import subprocess import sys diff --git a/tests/python/operators.py b/tests/python/operators.py index a1bc4740f21..411e089d3d3 100644 --- a/tests/python/operators.py +++ b/tests/python/operators.py @@ -5,7 +5,7 @@ import bpy import os import sys -from random import shuffle, seed +from random import seed seed(0) diff --git a/tests/python/sequencer_render_tests.py b/tests/python/sequencer_render_tests.py index 04033aeb136..7099956a9a7 100644 --- a/tests/python/sequencer_render_tests.py +++ b/tests/python/sequencer_render_tests.py @@ -5,9 +5,6 @@ import argparse import os -import shlex -import shutil -import subprocess import sys from pathlib import Path diff --git a/tests/python/view_layer/test_active_collection.py b/tests/python/view_layer/test_active_collection.py index d5bcab2f533..3af8ee17968 100644 --- a/tests/python/view_layer/test_active_collection.py +++ b/tests/python/view_layer/test_active_collection.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_background_set.py b/tests/python/view_layer/test_background_set.py index d919993f18d..6c6ddb4b239 100644 --- a/tests/python/view_layer/test_background_set.py +++ b/tests/python/view_layer/test_background_set.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_collection_new_sync.py b/tests/python/view_layer/test_collection_new_sync.py index d826fbc5e4a..b48db7eb27d 100644 --- a/tests/python/view_layer/test_collection_new_sync.py +++ b/tests/python/view_layer/test_collection_new_sync.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_collection_rename_a.py b/tests/python/view_layer/test_collection_rename_a.py index d65944c760a..1d9476549d8 100644 --- a/tests/python/view_layer/test_collection_rename_a.py +++ b/tests/python/view_layer/test_collection_rename_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_collection_rename_b.py b/tests/python/view_layer/test_collection_rename_b.py index e0db8b8087e..90149e470e5 100644 --- a/tests/python/view_layer/test_collection_rename_b.py +++ b/tests/python/view_layer/test_collection_rename_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_a.py b/tests/python/view_layer/test_evaluation_render_settings_a.py index 16cabe75577..7dee9204803 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_a.py +++ b/tests/python/view_layer/test_evaluation_render_settings_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_b.py b/tests/python/view_layer/test_evaluation_render_settings_b.py index 0ddf2ef006e..c3ef77acae9 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_b.py +++ b/tests/python/view_layer/test_evaluation_render_settings_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_c.py b/tests/python/view_layer/test_evaluation_render_settings_c.py index d4529aa357b..d32da023a76 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_c.py +++ b/tests/python/view_layer/test_evaluation_render_settings_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_d.py b/tests/python/view_layer/test_evaluation_render_settings_d.py index 48230b0a560..10c9bc369ec 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_d.py +++ b/tests/python/view_layer/test_evaluation_render_settings_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_e.py b/tests/python/view_layer/test_evaluation_render_settings_e.py index 769752e7d0e..d8d2c4d6c71 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_e.py +++ b/tests/python/view_layer/test_evaluation_render_settings_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_f.py b/tests/python/view_layer/test_evaluation_render_settings_f.py index 02322447020..70e96080dbc 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_f.py +++ b/tests/python/view_layer/test_evaluation_render_settings_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_g.py b/tests/python/view_layer/test_evaluation_render_settings_g.py index a789094be07..963faa2ca92 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_g.py +++ b/tests/python/view_layer/test_evaluation_render_settings_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_h.py b/tests/python/view_layer/test_evaluation_render_settings_h.py index 4c8e15fd3f0..f12f2543b51 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_h.py +++ b/tests/python/view_layer/test_evaluation_render_settings_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_render_settings_i.py b/tests/python/view_layer/test_evaluation_render_settings_i.py index 0bce47bd1e3..c13a90bc783 100644 --- a/tests/python/view_layer/test_evaluation_render_settings_i.py +++ b/tests/python/view_layer/test_evaluation_render_settings_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_selectability_a.py b/tests/python/view_layer/test_evaluation_selectability_a.py index 4f1bc295ba6..ddbad4a5f56 100644 --- a/tests/python/view_layer/test_evaluation_selectability_a.py +++ b/tests/python/view_layer/test_evaluation_selectability_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_selectability_b.py b/tests/python/view_layer/test_evaluation_selectability_b.py index 680529b0e59..a851100448e 100644 --- a/tests/python/view_layer/test_evaluation_selectability_b.py +++ b/tests/python/view_layer/test_evaluation_selectability_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_selectability_c.py b/tests/python/view_layer/test_evaluation_selectability_c.py index 48a1fd62ff4..bf41a881c73 100644 --- a/tests/python/view_layer/test_evaluation_selectability_c.py +++ b/tests/python/view_layer/test_evaluation_selectability_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_selectability_d.py b/tests/python/view_layer/test_evaluation_selectability_d.py index abe4592a9bf..e5ceb692617 100644 --- a/tests/python/view_layer/test_evaluation_selectability_d.py +++ b/tests/python/view_layer/test_evaluation_selectability_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_selectability_e.py b/tests/python/view_layer/test_evaluation_selectability_e.py index ecab81abbbb..84e5b444456 100644 --- a/tests/python/view_layer/test_evaluation_selectability_e.py +++ b/tests/python/view_layer/test_evaluation_selectability_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_selectability_f.py b/tests/python/view_layer/test_evaluation_selectability_f.py index d5ebe6ca17c..1140ef841d5 100644 --- a/tests/python/view_layer/test_evaluation_selectability_f.py +++ b/tests/python/view_layer/test_evaluation_selectability_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_a.py b/tests/python/view_layer/test_evaluation_visibility_a.py index fcfe6d24706..ebae3f50298 100644 --- a/tests/python/view_layer/test_evaluation_visibility_a.py +++ b/tests/python/view_layer/test_evaluation_visibility_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_b.py b/tests/python/view_layer/test_evaluation_visibility_b.py index 4ac6f6e249b..da9987a7d60 100644 --- a/tests/python/view_layer/test_evaluation_visibility_b.py +++ b/tests/python/view_layer/test_evaluation_visibility_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_c.py b/tests/python/view_layer/test_evaluation_visibility_c.py index bb9152afa9c..173f2855e52 100644 --- a/tests/python/view_layer/test_evaluation_visibility_c.py +++ b/tests/python/view_layer/test_evaluation_visibility_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_d.py b/tests/python/view_layer/test_evaluation_visibility_d.py index a3997aa9f11..dca19049b86 100644 --- a/tests/python/view_layer/test_evaluation_visibility_d.py +++ b/tests/python/view_layer/test_evaluation_visibility_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_e.py b/tests/python/view_layer/test_evaluation_visibility_e.py index e660d31fcd0..220bc7fba10 100644 --- a/tests/python/view_layer/test_evaluation_visibility_e.py +++ b/tests/python/view_layer/test_evaluation_visibility_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_f.py b/tests/python/view_layer/test_evaluation_visibility_f.py index 92c7757989e..28432563c00 100644 --- a/tests/python/view_layer/test_evaluation_visibility_f.py +++ b/tests/python/view_layer/test_evaluation_visibility_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_g.py b/tests/python/view_layer/test_evaluation_visibility_g.py index a17ff1e7c0f..68612e63fa1 100644 --- a/tests/python/view_layer/test_evaluation_visibility_g.py +++ b/tests/python/view_layer/test_evaluation_visibility_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_h.py b/tests/python/view_layer/test_evaluation_visibility_h.py index 37a220adaa0..e5e7423e0d3 100644 --- a/tests/python/view_layer/test_evaluation_visibility_h.py +++ b/tests/python/view_layer/test_evaluation_visibility_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_i.py b/tests/python/view_layer/test_evaluation_visibility_i.py index a21a2f9f068..8dff43d4450 100644 --- a/tests/python/view_layer/test_evaluation_visibility_i.py +++ b/tests/python/view_layer/test_evaluation_visibility_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_evaluation_visibility_j.py b/tests/python/view_layer/test_evaluation_visibility_j.py index f9ee11fbf7b..9d48e2bb191 100644 --- a/tests/python/view_layer/test_evaluation_visibility_j.py +++ b/tests/python/view_layer/test_evaluation_visibility_j.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_group_a.py b/tests/python/view_layer/test_group_a.py index fa759fde57d..516e391b76b 100644 --- a/tests/python/view_layer/test_group_a.py +++ b/tests/python/view_layer/test_group_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_group_b.py b/tests/python/view_layer/test_group_b.py index aa3e6b52cc3..627d497298f 100644 --- a/tests/python/view_layer/test_group_b.py +++ b/tests/python/view_layer/test_group_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_group_c.py b/tests/python/view_layer/test_group_c.py index 72f6c54ed8d..26505b293b0 100644 --- a/tests/python/view_layer/test_group_c.py +++ b/tests/python/view_layer/test_group_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_group_d.py b/tests/python/view_layer/test_group_d.py index 332bbbafb6e..e7188724608 100644 --- a/tests/python/view_layer/test_group_d.py +++ b/tests/python/view_layer/test_group_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_group_e.py b/tests/python/view_layer/test_group_e.py index 8d2ecd80520..584729503d6 100644 --- a/tests/python/view_layer/test_group_e.py +++ b/tests/python/view_layer/test_group_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_layer_linking.py b/tests/python/view_layer/test_layer_linking.py index 8a01b7e577b..6711721c7c6 100644 --- a/tests/python/view_layer/test_layer_linking.py +++ b/tests/python/view_layer/test_layer_linking.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -22,7 +20,6 @@ class UnitTesting(ViewLayerTesting): import bpy import os import tempfile - import filecmp ROOT = self.get_root() with tempfile.TemporaryDirectory() as dirpath: diff --git a/tests/python/view_layer/test_layer_syncing.py b/tests/python/view_layer/test_layer_syncing.py index b0be8fd64e2..72af3bf81a6 100644 --- a/tests/python/view_layer/test_layer_syncing.py +++ b/tests/python/view_layer/test_layer_syncing.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -22,7 +20,6 @@ class UnitTesting(ViewLayerTesting): import bpy import os import tempfile - import filecmp ROOT = self.get_root() with tempfile.TemporaryDirectory() as dirpath: diff --git a/tests/python/view_layer/test_make_single_user.py b/tests/python/view_layer/test_make_single_user.py index 76dc4cfc12e..4c640a919d1 100644 --- a/tests/python/view_layer/test_make_single_user.py +++ b/tests/python/view_layer/test_make_single_user.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_a.py b/tests/python/view_layer/test_move_above_below_layer_collection_a.py index ca38d1ff46c..c8e15f288aa 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_a.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_b.py b/tests/python/view_layer/test_move_above_below_layer_collection_b.py index 6ca60e4639c..4cb26f70632 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_b.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_c.py b/tests/python/view_layer/test_move_above_below_layer_collection_c.py index 6ca60e4639c..4cb26f70632 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_c.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_d.py b/tests/python/view_layer/test_move_above_below_layer_collection_d.py index a93bb6cf67a..42945f1e3bf 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_d.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_e.py b/tests/python/view_layer/test_move_above_below_layer_collection_e.py index 941f294e602..c6d1b9493db 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_e.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_f.py b/tests/python/view_layer/test_move_above_below_layer_collection_f.py index 5b18ed0c144..b1c006cd2e3 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_f.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_g.py b/tests/python/view_layer/test_move_above_below_layer_collection_g.py index 86c7390d887..80f8b616537 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_g.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_h.py b/tests/python/view_layer/test_move_above_below_layer_collection_h.py index e6203bb8569..de1df8b8297 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_h.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_i.py b/tests/python/view_layer/test_move_above_below_layer_collection_i.py index 64a2c60ccd5..32f90131d86 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_i.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_j.py b/tests/python/view_layer/test_move_above_below_layer_collection_j.py index a50a48b93a1..89c45897031 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_j.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_j.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_k.py b/tests/python/view_layer/test_move_above_below_layer_collection_k.py index fb3d7c1ce21..d74ed756193 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_k.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_k.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_layer_collection_l.py b/tests/python/view_layer/test_move_above_below_layer_collection_l.py index d0c2d4c69c5..a199e4d21e5 100644 --- a/tests/python/view_layer/test_move_above_below_layer_collection_l.py +++ b/tests/python/view_layer/test_move_above_below_layer_collection_l.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_a.py b/tests/python/view_layer/test_move_above_below_scene_collection_a.py index a8d3f4d86c0..7fcab41776b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_a.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_b.py b/tests/python/view_layer/test_move_above_below_scene_collection_b.py index a204f677129..b48ed569ff8 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_b.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_c.py b/tests/python/view_layer/test_move_above_below_scene_collection_c.py index 5c3733c0daa..19391f3f46b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_c.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_d.py b/tests/python/view_layer/test_move_above_below_scene_collection_d.py index e13b6b04b83..cf9521024fd 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_d.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_e.py b/tests/python/view_layer/test_move_above_below_scene_collection_e.py index 27882fb788f..6ea3347db07 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_e.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_f.py b/tests/python/view_layer/test_move_above_below_scene_collection_f.py index c23233efc79..0a236c77889 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_f.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_g.py b/tests/python/view_layer/test_move_above_below_scene_collection_g.py index 8675371cd34..f29b97ce04b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_g.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_h.py b/tests/python/view_layer/test_move_above_below_scene_collection_h.py index dd053303c78..dbc1850a4b3 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_h.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_i.py b/tests/python/view_layer/test_move_above_below_scene_collection_i.py index 3fd270af554..6f11c55a85b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_i.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_a.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_a.py index c93f345ee7a..caac194333b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_a.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_b.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_b.py index 2af87b712ac..1fc9f44e1b7 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_b.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_c.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_c.py index 53898980095..398adf14bdc 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_c.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_d.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_d.py index f3d975cb679..8848e34126f 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_d.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_e.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_e.py index af2d65624e5..06fe21c6a83 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_e.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_f.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_f.py index 03ac7fd9b05..aeddaa2a13b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_f.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_g.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_g.py index d56f1eaff40..517c332075b 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_g.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_h.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_h.py index e8093ccebd7..b28848d58ac 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_h.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_above_below_scene_collection_sync_i.py b/tests/python/view_layer/test_move_above_below_scene_collection_sync_i.py index 659ea7d809c..57f788b3240 100644 --- a/tests/python/view_layer/test_move_above_below_scene_collection_sync_i.py +++ b/tests/python/view_layer/test_move_above_below_scene_collection_sync_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_a.py b/tests/python/view_layer/test_move_into_layer_collection_a.py index 5e7690e72de..25fbbadd204 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_a.py +++ b/tests/python/view_layer/test_move_into_layer_collection_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_b.py b/tests/python/view_layer/test_move_into_layer_collection_b.py index 8e76a3643a6..160174e6e3d 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_b.py +++ b/tests/python/view_layer/test_move_into_layer_collection_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_c.py b/tests/python/view_layer/test_move_into_layer_collection_c.py index 696f6f443be..98a6bdece35 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_c.py +++ b/tests/python/view_layer/test_move_into_layer_collection_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_d.py b/tests/python/view_layer/test_move_into_layer_collection_d.py index 588b6900e0f..bf6b4e08a66 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_d.py +++ b/tests/python/view_layer/test_move_into_layer_collection_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_e.py b/tests/python/view_layer/test_move_into_layer_collection_e.py index 0068bdc3dd1..386c31f4c02 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_e.py +++ b/tests/python/view_layer/test_move_into_layer_collection_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_f.py b/tests/python/view_layer/test_move_into_layer_collection_f.py index 5c9e4f68148..e74c8427d72 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_f.py +++ b/tests/python/view_layer/test_move_into_layer_collection_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_g.py b/tests/python/view_layer/test_move_into_layer_collection_g.py index b66af0db1d4..76340a8d182 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_g.py +++ b/tests/python/view_layer/test_move_into_layer_collection_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_h.py b/tests/python/view_layer/test_move_into_layer_collection_h.py index dd86bf59c14..4713679ce2b 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_h.py +++ b/tests/python/view_layer/test_move_into_layer_collection_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_i.py b/tests/python/view_layer/test_move_into_layer_collection_i.py index 71258d54321..69e97878bf3 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_i.py +++ b/tests/python/view_layer/test_move_into_layer_collection_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_layer_collection_j.py b/tests/python/view_layer/test_move_into_layer_collection_j.py index 6ef5fbc5c19..773f9758f73 100644 --- a/tests/python/view_layer/test_move_into_layer_collection_j.py +++ b/tests/python/view_layer/test_move_into_layer_collection_j.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_a.py b/tests/python/view_layer/test_move_into_scene_collection_a.py index bf8de15374e..be2514ab4ab 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_a.py +++ b/tests/python/view_layer/test_move_into_scene_collection_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_b.py b/tests/python/view_layer/test_move_into_scene_collection_b.py index a69711cbf99..075c069a945 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_b.py +++ b/tests/python/view_layer/test_move_into_scene_collection_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_c.py b/tests/python/view_layer/test_move_into_scene_collection_c.py index 35348d5d523..ead1714f6b6 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_c.py +++ b/tests/python/view_layer/test_move_into_scene_collection_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_d.py b/tests/python/view_layer/test_move_into_scene_collection_d.py index 50edc92ae24..0cd2b4acf13 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_d.py +++ b/tests/python/view_layer/test_move_into_scene_collection_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_e.py b/tests/python/view_layer/test_move_into_scene_collection_e.py index b7a518b0af1..45503ed7158 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_e.py +++ b/tests/python/view_layer/test_move_into_scene_collection_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_f.py b/tests/python/view_layer/test_move_into_scene_collection_f.py index 0c89ae932df..4cbeea89e77 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_f.py +++ b/tests/python/view_layer/test_move_into_scene_collection_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_g.py b/tests/python/view_layer/test_move_into_scene_collection_g.py index aa018eb6e9e..1dd52fd4724 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_g.py +++ b/tests/python/view_layer/test_move_into_scene_collection_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_h.py b/tests/python/view_layer/test_move_into_scene_collection_h.py index 14a6c3593e6..629af573e86 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_h.py +++ b/tests/python/view_layer/test_move_into_scene_collection_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_i.py b/tests/python/view_layer/test_move_into_scene_collection_i.py index e6a7db67303..6bf118770c6 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_i.py +++ b/tests/python/view_layer/test_move_into_scene_collection_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_j.py b/tests/python/view_layer/test_move_into_scene_collection_j.py index 3bcecfc660a..56368cf5864 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_j.py +++ b/tests/python/view_layer/test_move_into_scene_collection_j.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_k.py b/tests/python/view_layer/test_move_into_scene_collection_k.py index 31b77c241b2..12b0bd25893 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_k.py +++ b/tests/python/view_layer/test_move_into_scene_collection_k.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_l.py b/tests/python/view_layer/test_move_into_scene_collection_l.py index ae8fd3f730a..0ba6f70d2a2 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_l.py +++ b/tests/python/view_layer/test_move_into_scene_collection_l.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_a.py b/tests/python/view_layer/test_move_into_scene_collection_sync_a.py index fb11f6e5288..e3987bdd7c5 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_a.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_b.py b/tests/python/view_layer/test_move_into_scene_collection_sync_b.py index 64b67de6ef6..d07612d7dd5 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_b.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_c.py b/tests/python/view_layer/test_move_into_scene_collection_sync_c.py index d036077c1cc..9dd62e2e4c9 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_c.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_d.py b/tests/python/view_layer/test_move_into_scene_collection_sync_d.py index b95126356e3..62b07bb7d64 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_d.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_e.py b/tests/python/view_layer/test_move_into_scene_collection_sync_e.py index 86ee8b37cfc..bc6e8a60267 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_e.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_f.py b/tests/python/view_layer/test_move_into_scene_collection_sync_f.py index 85fa4feef02..c992cf247d7 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_f.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_g.py b/tests/python/view_layer/test_move_into_scene_collection_sync_g.py index 7938b41927c..bc96e298a6a 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_g.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_g.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_h.py b/tests/python/view_layer/test_move_into_scene_collection_sync_h.py index 13ba9e4a402..eaebbebb860 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_h.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_h.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_i.py b/tests/python/view_layer/test_move_into_scene_collection_sync_i.py index 627a4106801..168ce1e9136 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_i.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_i.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_j.py b/tests/python/view_layer/test_move_into_scene_collection_sync_j.py index 04b22e7c2f4..07c613c5356 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_j.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_j.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_k.py b/tests/python/view_layer/test_move_into_scene_collection_sync_k.py index 7fc5ef4bf53..c3ed4111251 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_k.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_k.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_move_into_scene_collection_sync_l.py b/tests/python/view_layer/test_move_into_scene_collection_sync_l.py index c9d3e9dc57e..440c3ed5e7f 100644 --- a/tests/python/view_layer/test_move_into_scene_collection_sync_l.py +++ b/tests/python/view_layer/test_move_into_scene_collection_sync_l.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_add_cylinder.py b/tests/python/view_layer/test_object_add_cylinder.py index 3005ea0d860..2365e0f13be 100644 --- a/tests/python/view_layer/test_object_add_cylinder.py +++ b/tests/python/view_layer/test_object_add_cylinder.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_add_empty.py b/tests/python/view_layer/test_object_add_empty.py index 2487fa1dad1..d184ab31cc1 100644 --- a/tests/python/view_layer/test_object_add_empty.py +++ b/tests/python/view_layer/test_object_add_empty.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_add_no_collection_cylinder.py b/tests/python/view_layer/test_object_add_no_collection_cylinder.py index b9a006215ab..e652ffa5d56 100644 --- a/tests/python/view_layer/test_object_add_no_collection_cylinder.py +++ b/tests/python/view_layer/test_object_add_no_collection_cylinder.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -23,7 +21,6 @@ class UnitTesting(ViewLayerTesting): See if new objects are added to the correct collection bpy.ops.mesh.primitive_cylinder_add() """ - import os self.do_object_add_no_collection('CYLINDER') diff --git a/tests/python/view_layer/test_object_add_no_collection_empty.py b/tests/python/view_layer/test_object_add_no_collection_empty.py index eb29dcc3a26..5e961d6cd01 100644 --- a/tests/python/view_layer/test_object_add_no_collection_empty.py +++ b/tests/python/view_layer/test_object_add_no_collection_empty.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_add_no_collection_torus.py b/tests/python/view_layer/test_object_add_no_collection_torus.py index 126bd56f233..31ee5baf67a 100644 --- a/tests/python/view_layer/test_object_add_no_collection_torus.py +++ b/tests/python/view_layer/test_object_add_no_collection_torus.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_add_torus.py b/tests/python/view_layer/test_object_add_torus.py index 66dd1a6f10a..a580f5a78a4 100644 --- a/tests/python/view_layer/test_object_add_torus.py +++ b/tests/python/view_layer/test_object_add_torus.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_copy.py b/tests/python/view_layer/test_object_copy.py index 5f62c2a9bf4..ddf84541e38 100644 --- a/tests/python/view_layer/test_object_copy.py +++ b/tests/python/view_layer/test_object_copy.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -22,7 +20,6 @@ class UnitTesting(ViewLayerTesting): import bpy import os import tempfile - import filecmp ROOT = self.get_root() with tempfile.TemporaryDirectory() as dirpath: diff --git a/tests/python/view_layer/test_object_delete_a.py b/tests/python/view_layer/test_object_delete_a.py index 5388a99a503..a0ed3ea4b1d 100644 --- a/tests/python/view_layer/test_object_delete_a.py +++ b/tests/python/view_layer/test_object_delete_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_delete_b.py b/tests/python/view_layer/test_object_delete_b.py index be74a320c65..d7867801588 100644 --- a/tests/python/view_layer/test_object_delete_b.py +++ b/tests/python/view_layer/test_object_delete_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_link_a.py b/tests/python/view_layer/test_object_link_a.py index 1d58b918a00..689abd1abe7 100644 --- a/tests/python/view_layer/test_object_link_a.py +++ b/tests/python/view_layer/test_object_link_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_link_b.py b/tests/python/view_layer/test_object_link_b.py index f4047d5433b..797db4f5aef 100644 --- a/tests/python/view_layer/test_object_link_b.py +++ b/tests/python/view_layer/test_object_link_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_object_link_c.py b/tests/python/view_layer/test_object_link_c.py index fa352edfd42..f3c73dd450b 100644 --- a/tests/python/view_layer/test_object_link_c.py +++ b/tests/python/view_layer/test_object_link_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_operator_context.py b/tests/python/view_layer/test_operator_context.py index 17dad52da30..38ee4277d05 100644 --- a/tests/python/view_layer/test_operator_context.py +++ b/tests/python/view_layer/test_operator_context.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_collection_delete.py b/tests/python/view_layer/test_scene_collection_delete.py index ac76d6a12a7..16f1c7d1092 100644 --- a/tests/python/view_layer/test_scene_collection_delete.py +++ b/tests/python/view_layer/test_scene_collection_delete.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_copy_a.py b/tests/python/view_layer/test_scene_copy_a.py index 601bfc6b9b6..269793b59b7 100644 --- a/tests/python/view_layer/test_scene_copy_a.py +++ b/tests/python/view_layer/test_scene_copy_a.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_copy_b.py b/tests/python/view_layer/test_scene_copy_b.py index 5f02b80a382..f94e2427dcb 100644 --- a/tests/python/view_layer/test_scene_copy_b.py +++ b/tests/python/view_layer/test_scene_copy_b.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_copy_c.py b/tests/python/view_layer/test_scene_copy_c.py index cab9b66e2ee..2253ff2b2d1 100644 --- a/tests/python/view_layer/test_scene_copy_c.py +++ b/tests/python/view_layer/test_scene_copy_c.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_copy_d.py b/tests/python/view_layer/test_scene_copy_d.py index b8e235004f8..958d1974547 100644 --- a/tests/python/view_layer/test_scene_copy_d.py +++ b/tests/python/view_layer/test_scene_copy_d.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_copy_e.py b/tests/python/view_layer/test_scene_copy_e.py index e82300698b3..9989d12029e 100644 --- a/tests/python/view_layer/test_scene_copy_e.py +++ b/tests/python/view_layer/test_scene_copy_e.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -23,7 +21,6 @@ class UnitTesting(ViewLayerTesting): See if scene copying 'FULL_COPY' is working for scene collections with a shared object """ - import os import bpy scene = bpy.context.scene diff --git a/tests/python/view_layer/test_scene_copy_f.py b/tests/python/view_layer/test_scene_copy_f.py index c5b3084e779..fc1905db2af 100644 --- a/tests/python/view_layer/test_scene_copy_f.py +++ b/tests/python/view_layer/test_scene_copy_f.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -23,7 +21,6 @@ class UnitTesting(ViewLayerTesting): See if scene copying 'FULL_COPY' is keeping collections visibility and selectability. """ - import os import bpy scene = bpy.context.scene diff --git a/tests/python/view_layer/test_scene_delete.py b/tests/python/view_layer/test_scene_delete.py index 56ef577fba4..1a125906280 100644 --- a/tests/python/view_layer/test_scene_delete.py +++ b/tests/python/view_layer/test_scene_delete.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_objects.py b/tests/python/view_layer/test_scene_objects.py index 0495dec719c..e703dc32197 100644 --- a/tests/python/view_layer/test_scene_objects.py +++ b/tests/python/view_layer/test_scene_objects.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/test_scene_write_read.py b/tests/python/view_layer/test_scene_write_read.py index 2351ba1504e..23a3a4db9b5 100644 --- a/tests/python/view_layer/test_scene_write_read.py +++ b/tests/python/view_layer/test_scene_write_read.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * @@ -25,7 +23,6 @@ class UnitTesting(ViewLayerTesting): import bpy import os import tempfile - import filecmp with tempfile.TemporaryDirectory() as dirpath: (self.path_exists(f) for f in (filepath_layers, filepath_layers_json)) diff --git a/tests/python/view_layer/test_view_layer_rename.py b/tests/python/view_layer/test_view_layer_rename.py index 9ff591ac5c1..58458a5192c 100644 --- a/tests/python/view_layer/test_view_layer_rename.py +++ b/tests/python/view_layer/test_view_layer_rename.py @@ -7,8 +7,6 @@ # ############################################################ import unittest -import os -import sys from view_layer_common import * diff --git a/tests/python/view_layer/view_layer_common.py b/tests/python/view_layer/view_layer_common.py index c5732024cef..901d488acfb 100644 --- a/tests/python/view_layer/view_layer_common.py +++ b/tests/python/view_layer/view_layer_common.py @@ -253,7 +253,6 @@ class ViewLayerTesting(unittest.TestCase): import bpy import os import tempfile - import filecmp ROOT = self.get_root() with tempfile.TemporaryDirectory() as dirpath: @@ -350,7 +349,6 @@ class ViewLayerTesting(unittest.TestCase): import bpy import os import tempfile - import filecmp ROOT = self.get_root() with tempfile.TemporaryDirectory() as dirpath: @@ -386,7 +384,6 @@ class ViewLayerTesting(unittest.TestCase): import bpy import os import tempfile - import filecmp ROOT = self.get_root() with tempfile.TemporaryDirectory() as dirpath: diff --git a/tests/python/workbench_render_tests.py b/tests/python/workbench_render_tests.py index 98f67df346f..7b2e9059e07 100644 --- a/tests/python/workbench_render_tests.py +++ b/tests/python/workbench_render_tests.py @@ -6,9 +6,6 @@ import argparse import os import platform -import shlex -import shutil -import subprocess import sys from pathlib import Path