damccorm commented on code in PR #34612:
URL: https://github.com/apache/beam/pull/34612#discussion_r2114449972


##########
sdks/python/apache_beam/yaml/yaml_mapping_test.py:
##########
@@ -175,7 +175,7 @@ def test_validate(self):
           label='Errors')
 
   def test_validate_explicit_types(self):
-    with self.assertRaisesRegex(TypeError, r'.*violates schema.*'):
+    with self.assertRaisesRegex(RuntimeError, r'TypeError.*violates schema.*'):

Review Comment:
   Sure, I can get behind that



-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to