@@ -2059,7 +2059,7 @@ async def _test_handshake(self, env_vars, expected_env):
20592059 async def test_handshake_01_aws (self ):
20602060 await self ._test_handshake (
20612061 {
2062- "AWS_EXECUTION_ENV" : "AWS_Lambda_python3.9 " ,
2062+ "AWS_EXECUTION_ENV" : "AWS_Lambda_python3.10 " ,
20632063 "AWS_REGION" : "us-east-2" ,
20642064 "AWS_LAMBDA_FUNCTION_MEMORY_SIZE" : "1024" ,
20652065 },
@@ -2097,7 +2097,7 @@ async def test_handshake_04_vercel(self):
20972097
20982098 async def test_handshake_05_multiple (self ):
20992099 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" },
21012101 None ,
21022102 )
21032103 # Extra cases for other combos.
@@ -2109,13 +2109,16 @@ async def test_handshake_05_multiple(self):
21092109
21102110 async def test_handshake_06_region_too_long (self ):
21112111 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 },
21132113 {"name" : "aws.lambda" },
21142114 )
21152115
21162116 async def test_handshake_07_memory_invalid_int (self ):
21172117 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+ },
21192122 {"name" : "aws.lambda" },
21202123 )
21212124
0 commit comments