Skip to content

Commit 9eaf0f4

Browse files
committed
fix(tests): compat remove_prefix for 3.7+
1 parent b952152 commit 9eaf0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/functional/test_utilities_parameters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def build_get_parameters_stub(params: Dict[str, Any], invalid_parameters: List[s
5959
"Selector": f"{param}:{version}",
6060
"SourceResult": "string",
6161
"LastModifiedDate": datetime(2015, 1, 1),
62-
"ARN": f"arn:aws:ssm:us-east-2:111122223333:parameter/{param.removeprefix('/')}",
62+
"ARN": f"arn:aws:ssm:us-east-2:111122223333:parameter/{param.lstrip('/')}",
6363
"DataType": "string",
6464
}
6565
for param, value in params.items()

0 commit comments

Comments
 (0)