@@ -2059,7 +2059,7 @@ async def _test_handshake(self, env_vars, expected_env):
2059
2059
async def test_handshake_01_aws (self ):
2060
2060
await self ._test_handshake (
2061
2061
{
2062
- "AWS_EXECUTION_ENV" : "AWS_Lambda_python3.9 " ,
2062
+ "AWS_EXECUTION_ENV" : "AWS_Lambda_python3.10 " ,
2063
2063
"AWS_REGION" : "us-east-2" ,
2064
2064
"AWS_LAMBDA_FUNCTION_MEMORY_SIZE" : "1024" ,
2065
2065
},
@@ -2097,7 +2097,7 @@ async def test_handshake_04_vercel(self):
2097
2097
2098
2098
async def test_handshake_05_multiple (self ):
2099
2099
await self ._test_handshake (
2100
- {"AWS_EXECUTION_ENV" : "AWS_Lambda_python3.9 " , "FUNCTIONS_WORKER_RUNTIME" : "python" },
2100
+ {"AWS_EXECUTION_ENV" : "AWS_Lambda_python3.10 " , "FUNCTIONS_WORKER_RUNTIME" : "python" },
2101
2101
None ,
2102
2102
)
2103
2103
# Extra cases for other combos.
@@ -2109,13 +2109,16 @@ async def test_handshake_05_multiple(self):
2109
2109
2110
2110
async def test_handshake_06_region_too_long (self ):
2111
2111
await self ._test_handshake (
2112
- {"AWS_EXECUTION_ENV" : "AWS_Lambda_python3.9 " , "AWS_REGION" : "a" * 512 },
2112
+ {"AWS_EXECUTION_ENV" : "AWS_Lambda_python3.10 " , "AWS_REGION" : "a" * 512 },
2113
2113
{"name" : "aws.lambda" },
2114
2114
)
2115
2115
2116
2116
async def test_handshake_07_memory_invalid_int (self ):
2117
2117
await self ._test_handshake (
2118
- {"AWS_EXECUTION_ENV" : "AWS_Lambda_python3.9" , "AWS_LAMBDA_FUNCTION_MEMORY_SIZE" : "big" },
2118
+ {
2119
+ "AWS_EXECUTION_ENV" : "AWS_Lambda_python3.10" ,
2120
+ "AWS_LAMBDA_FUNCTION_MEMORY_SIZE" : "big" ,
2121
+ },
2119
2122
{"name" : "aws.lambda" },
2120
2123
)
2121
2124
0 commit comments