diff options
Diffstat (limited to 'tests/python/view_layer/test_operator_context.py')
-rw-r--r-- | tests/python/view_layer/test_operator_context.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/python/view_layer/test_operator_context.py b/tests/python/view_layer/test_operator_context.py index 34f46c963bb..38379aa2a75 100644 --- a/tests/python/view_layer/test_operator_context.py +++ b/tests/python/view_layer/test_operator_context.py @@ -90,8 +90,6 @@ class UnitTesting(ViewLayerTesting): # Change active scene layer (do it for window too just to don't get mangled in window bugs) scene = bpy.context.scene - scene.view_layers.active_index = len(scene.view_layers) - 2 - self.assertEqual(scene.view_layers.active.name, "Viewport") bpy.context.window.view_layer = bpy.context.scene.view_layers['Viewport'] # old layer |