ferruzzi commented on code in PR #56929:
URL: https://github.com/apache/airflow/pull/56929#discussion_r2449634753


##########
providers/amazon/tests/unit/amazon/aws/executors/ecs/test_ecs_executor.py:
##########
@@ -1344,9 +1343,8 @@ def test_subnets_required(self):
             (CONFIG_GROUP_NAME, AllEcsConfigKeys.SECURITY_GROUPS): "sg1,sg2",
         }
         with conf_vars(conf_overrides):
-            with pytest.raises(ValueError) as raised:
+            with pytest.raises(ValueError, match="At least one subnet is 
required to run a task."):

Review Comment:
   Yah, that's a good catch and a valid complaint about the pytest 
implementation.  Does pytest accept PRs?  :smiling_imp: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to