diff --git a/tests/unit/cfngin/hooks/test_aws_lambda.py b/tests/unit/cfngin/hooks/test_aws_lambda.py index d696efc9c..c686f5400 100644 --- a/tests/unit/cfngin/hooks/test_aws_lambda.py +++ b/tests/unit/cfngin/hooks/test_aws_lambda.py @@ -655,7 +655,7 @@ def test_with_docker_image(self) -> None: def test_with_runtime(self) -> None: """Test with runtime provided.""" client = make_fake_client() - runtime = "python3.9" + runtime = "python3.8" dockerized_pip(os.getcwd(), client=client, runtime=runtime) client.api.create_container.assert_called_with(