diff options
Diffstat (limited to 'tests/python/view_layer/test_scene_copy_f.py')
-rw-r--r-- | tests/python/view_layer/test_scene_copy_f.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/python/view_layer/test_scene_copy_f.py b/tests/python/view_layer/test_scene_copy_f.py index f97eec3b98a..13586a66f3d 100644 --- a/tests/python/view_layer/test_scene_copy_f.py +++ b/tests/python/view_layer/test_scene_copy_f.py @@ -85,10 +85,5 @@ class UnitTesting(ViewLayerTesting): # ############################################################ if __name__ == '__main__': - import sys - - extra_arguments = sys.argv[sys.argv.index("--") + 1:] if "--" in sys.argv else [] - sys.argv = [__file__] + (sys.argv[sys.argv.index("--") + 2:] if "--" in sys.argv else []) - - UnitTesting._extra_arguments = extra_arguments + UnitTesting._extra_arguments = setup_extra_arguments(__file__) unittest.main() |