We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b1e5b commit cd6836bCopy full SHA for cd6836b
tests/extra/artifacts/_s3sts/test_s3sts.py
@@ -35,8 +35,7 @@
35
"AccessKeyId": "akid",
36
"SecretAccessKey": "secret",
37
"SessionToken": "token",
38
- # TODO: go for datetime.datetime.now(tz=datetime.UTC) once 3.10 support is no longer needed
39
- "Expiration": datetime.datetime.utcnow() + datetime.timedelta(hours=1),
+ "Expiration": datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(hours=1),
40
},
41
"SubjectFromWebIdentityToken": "tokensubject",
42
"AssumedRoleUser": {"AssumedRoleId": "1", "Arn": "not important"},
0 commit comments