diff --git a/tiled/_tests/test_access_control.py b/tiled/_tests/test_access_control.py index 82ae8eb00..8525d7c3f 100644 --- a/tiled/_tests/test_access_control.py +++ b/tiled/_tests/test_access_control.py @@ -1,4 +1,3 @@ -import copy import json import numpy @@ -58,7 +57,7 @@ async def allowed_scopes(self, node, principal, path_parts): ) remove_scope = node.metadata().get("remove_scope", None) if remove_scope in allowed: - allowed = copy.copy(allowed) + allowed = allowed.copy() allowed.remove(remove_scope) return allowed